MediaWiki:Common.css: Difference between revisions

From EGTRE
Jump to navigationJump to search
(Undo revision 3100 by PaulSteane (talk))
(ToC numbering styles added)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }
body.page-Main_Page h1.firstHeading { display:none; }
/* un-comment next line to display all ToCs with no numbers */
/*.tocnumber { display:none; } */
/* start a page with <div class="nonumtoc"> to display that page's ToC with no numbers */
/* end the page with </div> */
.nonumtoc .tocnumber { display: none; }
/* start a page with <div class="numtoclevel1"> to display that page's ToC with level 1 numbers only */
/* end the page with </div> */
.numtoclevel1 ul ul .tocnumber,
.numtoclevel1 ul ul .tocnumber { display: none; }

Revision as of 21:28, 16 November 2011

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }

/* un-comment next line to display all ToCs with no numbers */
/*.tocnumber { display:none; } */

/* start a page with <div class="nonumtoc"> to display that page's ToC with no numbers */
/* end the page with </div> */
.nonumtoc .tocnumber { display: none; }

/* start a page with <div class="numtoclevel1"> to display that page's ToC with level 1 numbers only */
/* end the page with </div> */
.numtoclevel1 ul ul .tocnumber, 
.numtoclevel1 ul ul .tocnumber { display: none; }