Difference between revisions of "MediaWiki:Common.css"
From Point Omega Research
(More generic class names) |
|||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | table.mice-and-men | + | table.mice-and-men { |
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid black; | border: 1px solid black; | ||
} | } | ||
− | table.mice-and-men | + | table.mice-and-men th[scope=col] { |
padding: 2pt 8pt; | padding: 2pt 8pt; | ||
text-align: center; | text-align: center; | ||
Line 13: | Line 13: | ||
} | } | ||
− | table.mice-and-men | + | table.mice-and-men th[scope=row] { |
padding: 2pt 8pt; | padding: 2pt 8pt; | ||
border-right: 1px solid black; | border-right: 1px solid black; | ||
Line 20: | Line 20: | ||
} | } | ||
− | table.mice-and-men | + | table.mice-and-men td { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
padding: 2pt 8pt; | padding: 2pt 8pt; | ||
text-align: center; | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.mice-and-men.table2 th[scope=row]:first-child { | ||
+ | border-right: none; | ||
} | } |
Revision as of 12:27, 4 February 2013
/* CSS placed here will be applied to all skins */ table.mice-and-men { border-collapse: collapse; border: 1px solid black; } table.mice-and-men th[scope=col] { padding: 2pt 8pt; text-align: center; font-weight: bold; border-bottom: 1px solid black; } table.mice-and-men th[scope=row] { padding: 2pt 8pt; border-right: 1px solid black; font-weight: bold; text-align: left; } table.mice-and-men td { padding: 2pt 8pt; text-align: center; } table.mice-and-men.table2 th[scope=row]:first-child { border-right: none; }