Difference between revisions of "MediaWiki:Common.css"
Koppadasao (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →Hide the little logo and make the background of the main logo transparent: .logoContainer { background-color: transpare...") |
Koppadasao (talk | contribs) m |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | /* | + | |
− | . | + | /* Commonly used Wikipedia .wikitable and .prettytable */ |
− | . | + | table.wikitable, |
+ | table.prettytable { | ||
+ | margin: 1em 1em 1em 0; | ||
+ | background: #f9f9f9; | ||
+ | border: 1px #aaa solid; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | .wikitable th, .wikitable td, | ||
+ | .prettytable th, .prettytable td { | ||
+ | border: 1px #aaa solid; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | .wikitable th, | ||
+ | .prettytable th { | ||
+ | background: #f2f2f2; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .wikitable caption, | ||
+ | .prettytable caption { | ||
+ | margin-left: inherit; | ||
+ | margin-right: inherit; | ||
+ | font-weight: bold; | ||
+ | } |
Revision as of 19:28, 4 December 2012
/* CSS placed here will be applied to all skins */ /* Commonly used Wikipedia .wikitable and .prettytable */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th, .prettytable th { background: #f2f2f2; text-align: center; } .wikitable caption, .prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; }