Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Uwe Hermann (talk | contribs) m |
Uwe Hermann (talk | contribs) m |
||
Line 30: | Line 30: | ||
/* Alternating colors ("stripe" / "zebra") for table rows. */ | /* Alternating colors ("stripe" / "zebra") for table rows. */ | ||
/* table.alternategrey th {background: #6699ff;} */ | /* table.alternategrey th {background: #6699ff;} */ | ||
table.alternategrey tr:nth-child(even) {background: #eeeeee;} | table.alternategrey tr:nth-child(even) {background: #eeeeee; vertical-align: top;} | ||
table.alternategrey tr:nth-child(odd) {background: #dddddd;} | table.alternategrey tr:nth-child(odd) {background: #dddddd; vertical-align: top;} |
Revision as of 13:08, 1 July 2012
/* CSS placed here will be applied to all skins */
/* Hide useless main page title */
body.page-Main_Page h1.firstHeading {
display:none;
}
/* Table formatting */
table.sigroktable {
margin: 1em 1em 1em 0;
border: 1px #aaa solid;
border-collapse: collapse;
color: black;
vertical-align: top;
}
table.sigroktable > tr > th,
table.sigroktable > tr > td,
table.sigroktable > * > tr > th,
table.sigroktable > * > tr > td {
border: 1px #aaa solid;
padding: 0.2em;
vertical-align: top;
}
table.sigroktable > tr > th,
table.sigroktable > * > tr > th {
background: #6699ff;
vertical-align: top;
}
/* Alternating colors ("stripe" / "zebra") for table rows. */
/* table.alternategrey th {background: #6699ff;} */
table.alternategrey tr:nth-child(even) {background: #eeeeee; vertical-align: top;}
table.alternategrey tr:nth-child(odd) {background: #dddddd; vertical-align: top;}