Difference between revisions of "MediaWiki:Common.css"
From WikiTemp, the GBAtemp wiki
Line 29: | Line 29: | ||
margin-left:inherit; | margin-left:inherit; | ||
margin-right:inherit; | margin-right:inherit; | ||
+ | } | ||
+ | |||
+ | /***** | ||
+ | ** Popup box | ||
+ | *****/ | ||
+ | .popupbox { | ||
+ | position:absolute; | ||
+ | top:10px; | ||
+ | right:10px; | ||
+ | z-index:3; | ||
+ | } | ||
+ | |||
+ | .popupbox a { | ||
+ | color:yellow; | ||
+ | background:green; | ||
+ | font:bold 10px verdana, sans-serif; | ||
+ | text-decoration:none; | ||
+ | display:block; | ||
+ | padding:1px; | ||
+ | border:1px solid black; | ||
+ | } | ||
+ | |||
+ | .popupbox a:hover { | ||
+ | color:yellow; | ||
+ | background:green; | ||
+ | width:200px; | ||
+ | } | ||
+ | |||
+ | .popupbox a span { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .popupbox a:hover span { | ||
+ | color:black; | ||
+ | background:white; | ||
+ | font:normal 12px verdana, sans-serif; | ||
+ | border:1px solid black; | ||
+ | display:block; | ||
+ | padding:5px; | ||
} | } | ||
/*</pre>*/ | /*</pre>*/ |
Revision as of 02:32, 18 February 2007
/*<pre>*/ /** CSS placed here will be applied to all skins */ /***** ** Table formatting *****/ table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th, table.prettytable th { background:#F2F2F2; text-align:center; } table.wikitable caption, table.prettytable caption { margin-left:inherit; margin-right:inherit; } /***** ** Popup box *****/ .popupbox { position:absolute; top:10px; right:10px; z-index:3; } .popupbox a { color:yellow; background:green; font:bold 10px verdana, sans-serif; text-decoration:none; display:block; padding:1px; border:1px solid black; } .popupbox a:hover { color:yellow; background:green; width:200px; } .popupbox a span { display:none; } .popupbox a:hover span { color:black; background:white; font:normal 12px verdana, sans-serif; border:1px solid black; display:block; padding:5px; } /*</pre>*/