MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

/* navboxes */ table.navbox { width:100%; margin:auto; clear:both; font-size:87.5%; } /* cool trick to force space between adjacent navboxes */ table.navbox + table.navbox { margin-top:1px; } table.navbox > tr > th, table.navbox > * > tr > th { white-space:nowrap; }

/* infoboxes */ table.infobox { float:right; width:22em; font-size:87.5%; line-height:1.5em; margin:0.5em 0 0.5em 1em; }

/* shortcut template */ div.shortcut { text-align:center; margin:0.5em 0.5em 0.5em 1em; padding:0.5em; float:right; font-size:smaller; font-weight:bold; }

/* messageboxes */ .messagebox, .errorbox, .warningbox, .successbox { border-top-color:#ffffff; border-left-color:#ffffff; border-width:2px; box-shadow:0px 0px 5px 5px #ffffff inset; width:60%; margin:0 auto 1em auto; padding:0.5em; text-align:center; } /* the border is 25% darker than the background */ .messagebox { background:rgba(127,127,191,0.25); border-bottom-color:rgba(95.25,95.25,143.25,1.0); border-right-color:rgba(95.25,95.25,143.25,1.0); } .errorbox { background:rgba(255,0,0,0.25); border-bottom-color:rgba(191.25,0,0,1.0); border-right-color:rgba(191.25,0,0,1.0); } .warningbox { background:rgba(255,175,0,0.25); border-bottom-color:rgba(191.25,131.25,0,1.0); border-right-color:rgba(191.25,131.25,0,1.0); } .successbox { background:rgba(63,175,95,0.25); border-bottom-color:rgba(47.25,131.25,71.25,1.0); border-right-color:rgba(47.25,131.25,71.25,1.0); }