Difference between revisions of "MediaWiki:Monobook.css"
From TMB Wiki
m (table class formating) |
(Whoops, a little over zealous there! CSS for tables reverted) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* edit this file to customize the monobook skin for the entire site */ | /* edit this file to customize the monobook skin for the entire site */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* wikitable class for skinning normal tables */ | /* wikitable class for skinning normal tables */ | ||
− | |||
table.wikitable { | table.wikitable { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
+ | margin-top: 0.2em; | ||
+ | margin-bottom: 0.2em; | ||
} | } | ||
− | |||
table.wikitable th, table.wikitable td { | table.wikitable th, table.wikitable td { | ||
border: 1px #aaaaaa solid; | border: 1px #aaaaaa solid; | ||
padding: 0.2em; | padding: 0.2em; | ||
} | } | ||
− | |||
table.wikitable th { | table.wikitable th { | ||
background: #f2f2f2; | background: #f2f2f2; | ||
} | } | ||
− | |||
table.wikitable caption { | table.wikitable caption { | ||
font-weight: bold; | font-weight: bold; | ||
padding-bottom: 0.2em; | padding-bottom: 0.2em; | ||
} | } |
Latest revision as of 21:39, 23 December 2008
/* edit this file to customize the monobook skin for the entire site */ /* wikitable class for skinning normal tables */ table.wikitable { background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; margin-top: 0.2em; margin-bottom: 0.2em; } table.wikitable th, table.wikitable td { border: 1px #aaaaaa solid; padding: 0.2em; } table.wikitable th { background: #f2f2f2; } table.wikitable caption { font-weight: bold; padding-bottom: 0.2em; }