MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
test adding lines for limiting TOC levels from http://en.wikipedia.org/wiki/MediaWiki:Common.css |
lang=css |
||
Line 1: | Line 1: | ||
/* <source lang="css"> */ | |||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
Revision as of 22:23, 18 March 2009
/* <source lang="css"> */
/* CSS placed here will be applied to all skins */
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
instance, will limit to showing ==headings== and ===headings=== but no further (as long as
there are no =headings= on the page, which there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}