Difference between revisions of "MediaWiki:Common.css"

From Sniper
Jump to navigation Jump to search
 
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 
pre, code { font-size: 120%; line-height: 125%; }
 
pre, code { font-size: 120%; line-height: 125%; }
 +
 +
/* 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;
 +
}

Latest revision as of 04:35, 15 April 2013

/* CSS placed here will be applied to all skins */
pre, code { font-size: 120%; line-height: 125%; }

/* 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; 
}