MediaWiki:Timeless.css

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 affect users of the Timeless skin */
/* Thumb image border fix */
.thumbborder {
    border: 0.5px Solid #dbdbdb;
}

/* Possible Timless single-sidebar mode */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
  margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
    float: left;
    clear: left;
  }
}
@media (min-width: 1560px) {
  #mw-content {
    width: 81%;
  }
}
@media (min-width: 1340px) and (max-width: 1559px) {
  #mw-content {
    width: 78%;
  }
}

@media (min-width: 851px) and (max-width: 1099px) {
  #mw-related-navigation {
    float: left;
  }
}

/* Accent color changes */
.color-left {
  background: #006699;
}
.color-right {
  background: #006699;
}
#mw-content-container {
border-bottom: solid 4px #006699;
}

/* Improved Infobox & Table Contrast */
.infobox {
  border: 1px solid #c3c3c3;
}
.infobox.geography td, .infobox.geography th {
  border-top: 1px solid #c3c3c3;
}
table.wikitable > tr > th, table.wikitable > * > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > td {
  border: 1px solid #c3c3c3;
}

/* Hide Site Name if Logo Displayed */
@media (min-width: 1100px) {
  #p-logo-text {
    display: none !important;
  }
}