MediaWiki:Mobile.css

Revision as of 12:36, 2 September 2018 by Spaceeinstein (talk | contribs) (New Page: "→‎CSS placed here will affect users of the mobile site: →‎* center table columns styles *: table.center-col-1 td:first-child, table.center-col-2 td:first-child + td, table.center-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 affect users of the mobile site */
/** center table columns styles **/
table.center-col-1 td:first-child,
table.center-col-2 td:first-child + td,
table.center-col-3 td:first-child + td + td,
table.center-col-4 td:first-child + td + td + td {
    text-align: center;
}

/** character maps styles for GXT article **/
table.charmap {
    text-align: center;
}
table.charmap td, table.charmap th {
    width: 2em;
    height: 2em;
}
table.charmap td {
    font-family: monospace;
    font-size: 150%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

/** styles for Menu article **/
table.menu tr:target {
    background-color: lightblue;
}
table.menu td:first-child td:first-child + td {
    width: 25em;
}