Difference between revisions of "MediaWiki:Common.css"

From VistrailsWiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 18:25, 26 June 2012

/* CSS placed here will be applied to all skins */

/* CODE FROM HERE: http://www.mwusers.com/forums/showthread.php?13934-MediaWiki-remove-TOC-numbers */
/* When <div class="nonumtoc"> is used on the table of contents,
   the ToC will display 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; 
}