Difference between revisions of "MediaWiki:Chick.css"
From SDA Knowledge Base
(table and template styles) |
m (setting background color for all tables) |
||
| (One intermediate revision by the same user not shown) | |||
| 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 46: | Line 47: | ||
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:12, 31 July 2010
/* CSS placed here will affect users of the Chick skin */
/*
* 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;
color: #ffffff;
}
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;
}