MediaWiki:Common.css
Revision as of 09:11, 13 April 2010 by WikiSysop (talk | contribs) (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 …')
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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 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;}