Difference between revisions of "MediaWiki:Common.css"

From sigrok
Jump to navigation Jump to search
m
m
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Alternating colors ("stripe" / "zebra") for table rows. */
/* Hide useless main page title */
/* table.alternategrey th {background: #6699ff;} */
body.page-Main_Page h1.firstHeading {
table.alternategrey tr:nth-child(even) {background: #eeeeee;}
  display:none;
table.alternategrey tr:nth-child(odd) {background: #dddddd;}
}


/* Table formatting */
/* Table formatting */
table.sigroktable {
table.sigroktable {
         margin: 1em 1em 1em 0;
         margin: 1em 1em 1em 0;
        background-color: #6699ff;
         border: 1px #aaa solid;
         border: 1px #aaa solid;
         border-collapse: collapse;
         border-collapse: collapse;
Line 23: Line 22:
table.sigroktable > tr > th,
table.sigroktable > tr > th,
table.sigroktable > * > tr > th {
table.sigroktable > * > tr > th {
         /* background-color: #f2f2f2; */
         background: #6699ff;
        text-align: center;
}
}
/* 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; }

Latest revision as of 00: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; }