MediaWiki:Common.css

MediaWiki interface page
Revision as of 19:09, 2 January 2020 by HerrHulaHoop (talk | contribs) (Move TOC code to Common)

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 the title on the main page */
.action-view.page-Main_Page #siteSub, .action-submit.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub, .action-submit.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
  display: none;
}

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

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