Difference between revisions of "MediaWiki:Common.css"
From Fritipedia
Jump to navigationJump to search (New page: →CSS placed here will be applied to all skins: →**** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS ****: /* Wikitable (Prettytable) class for skinning normal t...) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | /* | + | /* wikitable/prettytable class for skinning normal tables */ |
− | |||
− | |||
− | |||
table.wikitable, | table.wikitable, | ||
table.prettytable { | 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 0.5em; | |
} | } | ||
− | + | .wikitable th, | |
− | + | .prettytable th { | |
− | + | background: #ddd; | |
− | + | text-align: left; | |
} | } | ||
− | + | .wikitable caption, | |
− | + | .prettytable caption { | |
− | + | margin-left: inherit; | |
− | + | margin-right: inherit; | |
− | + | font-weight: bold; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Latest revision as of 17:13, 14 November 2008
/* wikitable/prettytable class for skinning normal tables */ 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 0.5em; } .wikitable th, .prettytable th { background: #ddd; text-align: left; } .wikitable caption, .prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; }