MediaWiki:Common.css

From sigrok
Revision as of 00:48, 26 November 2012 by Uwe Hermann (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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; }