Actions

MediaWiki

Difference between revisions of "Common.css"

From P6 Spheres

(Created page with "CSS placed here will be applied to all skins: div.mw-parser-output {max-width:1200px} .wikitable {overflow:scroll;} Table of content classes: .toc-cols2 ul {column...")
 
Line 3: Line 3:
 
div.mw-parser-output {max-width:1200px}
 
div.mw-parser-output {max-width:1200px}
 
.wikitable {overflow:scroll;}
 
.wikitable {overflow:scroll;}
 +
 +
/* Remove the tagline that displays the wiki name beneath all page titles */
 +
body.page-Main_Page.action-view #siteSub, body.page-Main_Page.action-submit #siteSub { display: none; }
  
 
/* Table of content classes */
 
/* Table of content classes */

Revision as of 12:09, 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 */
body.page-Main_Page.action-view #siteSub, body.page-Main_Page.action-submit #siteSub { 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}