Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added nonumtoc option) |
(Remove logo space) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Remove logo space */ | |||
#p-logo a, #p-logo a:hover { | |||
display: none; | |||
} | |||
/* When <div class="nonumtoc"> is used on the table of contents, | /* When <div class="nonumtoc"> is used on the table of contents, | ||
the ToC will display without numbers | the ToC will display without numbers | ||
.nonumtoc .tocnumber { display: none; } | .nonumtoc .tocnumber { display: none; } | ||
.nonumtoc #toc ul, | .nonumtoc #toc ul, | ||
Line 15: | Line 20: | ||
margin: 0 0 0 2em; | margin: 0 0 0 2em; | ||
} | } | ||
*/ |
Revision as of 21:07, 21 November 2011
/* CSS placed here will be applied to all skins */
/* Remove logo space */
#p-logo a, #p-logo a:hover {
display: none;
}
/* 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;
}
*/