MediaWiki:Common.css
Line 6: | Line 6: | ||
table.wikitable { | table.wikitable { | ||
margin:1em 1em 1em 0; | margin:1em 1em 1em 0; | ||
- | background:# | + | background:#F9F9F9; |
border:1px #AAA solid; | border:1px #AAA solid; | ||
border-collapse:collapse; | border-collapse:collapse; | ||
Line 22: | Line 22: | ||
table.wikitable caption { | table.wikitable caption { | ||
+ | margin-left:inherit; | ||
+ | margin-right:inherit; | ||
+ | } | ||
+ | /***** | ||
+ | ** Table 2 | ||
+ | *****/ | ||
+ | table.wikitable2 { | ||
+ | margin:1em 1em 1em 0; | ||
+ | background:#F9F9F9; | ||
+ | border:1px #99CCFF 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:43, 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 2 *****/ table.wikitable2 { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #99CCFF 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; }