Difference between revisions of "MediaWiki:Monobook.css"
From SDA Knowledge Base
(table and template styles) |
m (table backgrounds, yes/no cell styles) |
||
Line 4: | Line 4: | ||
* Table styles | * Table styles | ||
*/ | */ | ||
+ | |||
+ | table { background-color: #ffffff; } | ||
table.wikitable { | table.wikitable { | ||
Line 9: | Line 11: | ||
margin-bottom: .5em; | margin-bottom: .5em; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
− | |||
} | } | ||
Line 41: | Line 42: | ||
border: 1px solid #9c9c9c; | border: 1px solid #9c9c9c; | ||
background-color: #dddddd; | background-color: #dddddd; | ||
+ | } | ||
+ | |||
+ | .yes-cell { | ||
+ | background-color: #a2cd5a !important; | ||
+ | } | ||
+ | |||
+ | .no-cell { | ||
+ | background-color: #eea2ad !important; | ||
} | } |
Latest revision as of 16:30, 31 July 2010
/* CSS placed here will affect users of the Monobook skin */ /* * Table styles */ table { background-color: #ffffff; } table.wikitable { border: 1px solid #9c9c9c; margin-bottom: .5em; border-collapse: collapse; } table.wikitable th, table.wikitable td { border: 1px solid #9c9c9c; vertical-align: top; padding: 2px; } table.wikitable th { text-align: center; font-weight: bold; background: #dddddd; } table.wikitable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; font-size: 1.1em; } /* * Templates */ .contents { float: right; padding: 5px; margin: 0 0 .5em 1em; border: 1px solid #9c9c9c; background-color: #dddddd; } .yes-cell { background-color: #a2cd5a !important; } .no-cell { background-color: #eea2ad !important; }