Difference between revisions of "MediaWiki:Classic.css"
From SDA Knowledge Base
(table and template styles) |
m (all table backgrounds, adding yes/no cell styles) |
||
| Line 2: | Line 2: | ||
* Table styles | * Table styles | ||
*/ | */ | ||
| + | |||
| + | table { background-color: #ffffff; } | ||
table.wikitable { | table.wikitable { | ||
| Line 7: | Line 9: | ||
margin-bottom: .5em; | margin-bottom: .5em; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| − | |||
} | } | ||
| Line 43: | Line 44: | ||
border: 1px solid #000000; | border: 1px solid #000000; | ||
background-color: #ffffff; | background-color: #ffffff; | ||
| + | } | ||
| + | |||
| + | .yes-cell { | ||
| + | background-color: #a2cd5a !important; | ||
| + | } | ||
| + | |||
| + | .no-cell { | ||
| + | background-color: #eea2ad !important; | ||
} | } | ||
Latest revision as of 15:14, 31 July 2010
/*
* Table styles
*/
table { background-color: #ffffff; }
table.wikitable {
border: 1px solid #000000;
margin-bottom: .5em;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px solid #000000;
vertical-align: top;
padding: 2px;
}
table.wikitable td {
color: #000000;
}
table.wikitable th {
text-align: center;
font-weight:bold;
background: #c0c0c0;
}
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 #000000;
background-color: #ffffff;
}
.yes-cell {
background-color: #a2cd5a !important;
}
.no-cell {
background-color: #eea2ad !important;
}