Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) m |
Uwe Hermann (talk | contribs) m |
||
Line 23: | Line 23: | ||
table.sigroktable > tr > th, | table.sigroktable > tr > th, | ||
table.sigroktable > * > tr > th { | table.sigroktable > * > tr > th { | ||
background-color: #f2f2f2; | /* background-color: #f2f2f2; */ | ||
text-align: center; | text-align: center; | ||
} | } |
Revision as of 01:37, 15 June 2012
/* CSS placed here will be applied to all skins */
/* Alternating colors ("stripe" / "zebra") for table rows. */
/* table.alternategrey th {background: #6699ff;} */
table.alternategrey tr:nth-child(even) {background: #eeeeee;}
table.alternategrey tr:nth-child(odd) {background: #dddddd;}
/* Table formatting */
table.sigroktable {
margin: 1em 1em 1em 0;
background-color: #6699ff;
border: 1px #aaa solid;
border-collapse: collapse;
color: black;
}
table.sigroktable > tr > th,
table.sigroktable > tr > td,
table.sigroktable > * > tr > th,
table.sigroktable > * > tr > td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.sigroktable > tr > th,
table.sigroktable > * > tr > th {
/* background-color: #f2f2f2; */
text-align: center;
}