Difference between revisions of "MediaWiki:Common.css"

From sigrok
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
         border-collapse: collapse;
         border-collapse: collapse;
         color: black;
         color: black;
        vertical-align: top;
}
}
table.sigroktable > tr > th,
table.sigroktable > tr > th,
Line 20: Line 19:
         border: 1px #aaa solid;
         border: 1px #aaa solid;
         padding: 0.2em;
         padding: 0.2em;
        vertical-align: top;
}
}
table.sigroktable > tr > th,
table.sigroktable > tr > th,
table.sigroktable > * > tr > th {
table.sigroktable > * > tr > th {
         background: #6699ff;
         background: #6699ff;
        vertical-align: top;
}
}


Line 32: Line 29:
table.alternategrey tr:nth-child(even) {background: #eeeeee;}
table.alternategrey tr:nth-child(even) {background: #eeeeee;}
table.alternategrey tr:nth-child(odd) {background: #dddddd;}
table.alternategrey tr:nth-child(odd) {background: #dddddd;}
table.infobox { float: right; }

Latest revision as of 01:48, 26 November 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;
}
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: #6699ff;
}

/* 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.infobox { float: right; }