MediaWiki:Timeless.css

MediaWiki interface page
Revision as of 08:09, 15 June 2020 by HerrHulaHoop (talk | contribs) (Minor tweak in CSS)

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 */

/* Flexbox used in the Main page */
.flexbox-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.flexchild-stretch {
  flex-grow: 1;
}

.flexchild-border {
  background-color: #f8f9fa;
  border-style: solid;
  border-width: 1px;
  border-color: #eaecf0;
  border-radius: 5px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 5px;
}

.flexheading3 {
  font-size: 1.4em;
  margin-top: 0em;
}

.flexheading4 {
  font-size: 1.2em;
  margin-top: 0em;
  margin-bottom: 0.5em;
}

@media screen and ( max-width: 850px ) {
  .flexheading4 {
    margin-top: 0.5em;
  }
}

.text-bottomline {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #c8ccd1;
}

.flexchild-borderless > ul {
  margin-top: 0em;
}

/* Formatting for the video game infobox template */
.vginfobox {
  float: right;
  max-width: 365px;
  margin-left: 15px;
  margin-bottom: 15px;
  font-size: 90%;
  border-spacing: 0px;
  border-style: solid;
  border-width: 1px;
  border-color: #eeeeee;
}

@media screen and ( max-width: 850px ) {
  .vginfobox {
    float: none;
    margin: auto;
    font-size: 100%;
  }
}

.vginfobox > * > tr > th, .vginfobox > * > tr > td {
  padding: 10px;
}

/* Add background and color to user message notifications */
.usermessage {
  background-color: #fef6e7;
  border-color: #fc3;
  border-width: 1px !important;
  border-style: solid !important;
  padding: 0.5em 1em !important;
  margin-bottom: 1em;
}

@media screen and ( max-width: 1100px ) {
  .usermessage {
    margin-bottom: 0.2em;
  }
}

/* Formatting for configuration tables */
.config-table {
  width: 100%;
}

.config-table-first-column {
  width: 220px;
}

@media screen and ( max-width: 850px ) {
  .config-table-first-column {
    width: auto;
  }
}

/* Add columns to TOC in Game Patches page */
.page-Help_Game_Patches #toc > ul:nth-child(3) {
  column-count: 3;
}

@media screen and ( max-width: 850px ) {
  .page-Help_Game_Patches #toc > ul:nth-child(3) {
    column-count: 2;
  }
}

@media screen and ( max-width: 550px ) {
  .page-Help_Game_Patches #toc > ul:nth-child(3) {
    column-count: 1;
  }
}

.page-Help_Game_Patches #toc > ul > .toclevel-1 {
  page-break-inside: avoid;
}