Actions

MediaWiki

Common.css

From P6 Spheres

Revision as of 15:25, 14 March 2020 by Dice adm (talk | contribs)

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

div.mw-parser-output {max-width:1200px}
.wikitable {overflow:scroll;}

/* Remove the tagline that displays the wiki name beneath all page titles */
#tagline { display: none; }

/* Table of content classes */
.toc-cols2 ul {column-count:2; column-gap:20px; display: inline-block}
.toc-cols3 ul {column-count:3; column-gap:20px; display: inline-block}

.tocnumber { display: none; }

.toclimit5 li.toclevel-6 {display:none}
.toclimit4 li.toclevel-6, .toclimit4 li.toclevel-5 {display:none}
.toclimit3 li.toclevel-6, .toclimit3 li.toclevel-5, .toclimit3 li.toclevel-4 {display:none}
.toclimit2 li.toclevel-6, .toclimit2 li.toclevel-5, .toclimit2 li.toclevel-4, .toclimit2 li.toclevel-3 {display:none}
.toclimit1 li.toclevel-6, .toclimit1 li.toclevel-5, .toclimit1 li.toclevel-4, .toclimit1 li.toclevel-3, .toclimit1 li.toclevel-2 {display:none}

/* Special CSS for list pages, causing the TOC to always be visible */
.cat-Lists div.mw-parser-output {padding-right:200px; overflow:visible;}
#toc {position:sticky;top:0;}

#footer {
        position: sticky;
        bottom: 0;
    }