MediaWiki:Common.css
Line 22: | Line 22: | ||
table.wikitable caption { | table.wikitable caption { | ||
+ | margin-left:inherit; | ||
+ | margin-right:inherit; | ||
+ | } | ||
+ | |||
+ | /***** | ||
+ | ** Table formatting2 | ||
+ | *****/ | ||
+ | table.wikitable2 { | ||
+ | margin:1em 1em 1em 0; | ||
+ | background:#99CCFF; | ||
+ | border:1px #AAA solid; | ||
+ | border-collapse:collapse; | ||
+ | } | ||
+ | |||
+ | table.wikitable2 th, table.wikitable2 td { | ||
+ | border:1px #AAA solid; | ||
+ | padding:0.2em; | ||
+ | } | ||
+ | |||
+ | table.wikitable2 th{ | ||
+ | background:#F2F2F2; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | table.wikitable2 caption { | ||
margin-left:inherit; | margin-left:inherit; | ||
margin-right:inherit; | margin-right:inherit; | ||
} | } |
Revision as of 09:39, 22 October 2007
/** CSS placed here will be applied to all skins */ /*<pre>*/ /***** ** Table formatting *****/ table.wikitable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th{ background:#F2F2F2; text-align:center; } table.wikitable caption { margin-left:inherit; margin-right:inherit; } /***** ** Table formatting2 *****/ table.wikitable2 { margin:1em 1em 1em 0; background:#99CCFF; border:1px #AAA solid; border-collapse:collapse; } table.wikitable2 th, table.wikitable2 td { border:1px #AAA solid; padding:0.2em; } table.wikitable2 th{ background:#F2F2F2; text-align:center; } table.wikitable2 caption { margin-left:inherit; margin-right:inherit; }