Difference between revisions of "Common.css"
From P6 Spheres
| Line 21: | Line 21: | ||
/* Special CSS for list pages, causing the TOC to always be visible */ | /* Special CSS for list pages, causing the TOC to always be visible */ | ||
div.mw-parser-output {padding-right:200px;} | div.mw-parser-output {padding-right:200px;} | ||
| − | #toc {position: -webkit-sticky;position:sticky;top: 0;} | + | #toc {position: -webkit-sticky;position:sticky;top:0;} |
Revision as of 14:56, 14 March 2020
/* 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 */
div.mw-parser-output {padding-right:200px;}
#toc {position: -webkit-sticky;position:sticky;top:0;}