Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with '→CSS placed here will be applied to all skins: →Add the ability to have TOCs without numbers: .nonumtoc .tocnumber { display:none; } .nonumtoc #toc ul, .nonumtoc .toc ul …') |
|||
Line 10: | Line 10: | ||
.nonumtoc #toc ul ul, .nonumtoc .toc ul ul { margin: 0 0 0 2em; } | .nonumtoc #toc ul ul, .nonumtoc .toc ul ul { margin: 0 0 0 2em; } | ||
} | } | ||
/* add the .noautonum option */ | |||
.noautonum .tocnumber { display: none; } | |||
/* Add the ability to limit TOC levels */ | /* Add the ability to limit TOC levels */ | ||
.toclimit-2 .toclevel-2 {display:none;} | .toclimit-2 .toclevel-2 {display:none;} |
Latest revision as of 06:06, 1 October 2013
/* CSS placed here will be applied to all skins */ /* Add the ability to have TOCs without numbers */ .nonumtoc .tocnumber { display:none; } .nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0; .nonumtoc #toc ul ul, .nonumtoc .toc ul ul { margin: 0 0 0 2em; } } /* add the .noautonum option */ .noautonum .tocnumber { display: none; } /* Add the ability to limit TOC levels */ .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;}