MediaWiki:Vector.css

MediaWiki interface page
Revision as of 19:41, 22 December 2021 by HerrHulaHoop (talk | contribs) (Moved from commons since each theme has a distinct style)
(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 Vector skin */

/* Flexbox used in the Main page */
#mainpage-flexbox, #help-flexbox {
  margin-top: 20px;
}

.flexbox-row-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

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

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

.flexchild-borderless {
  padding-right: 10px;
}

.flexheading3 {
  font-weight: bold;
  font-size: 1.2em;
}

.flexheading4 {
  padding-bottom: 0px;
  font-size: 1em;
}

/* 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: #a2a9b1;
}

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

/* Formatting for configuration tables */
.config-table {
  width: 1000px;
}

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

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

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

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

#disclaimer-box {
  border: 1px solid #eaecf0; 
  padding: 1em; 
  background-color: #f8f9fa;
}