From WikiChip
Difference between revisions of "MediaWiki:Common.css"
Line 1: | Line 1: | ||
+ | /* hide the heading from the main page */ | ||
+ | body.page-WikiChip.action-view h1.firstHeading, | ||
+ | body.page-WikiChip.action-submit h1.firstHeading { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
div.portal { | div.portal { |
Revision as of 15:25, 2 January 2016
/* hide the heading from the main page */
body.page-WikiChip.action-view h1.firstHeading,
body.page-WikiChip.action-submit h1.firstHeading {
display: none;
}
/* CSS placed here will be applied to all skins */
div.portal {
padding-bottom: .5em !important;
}
/* hide the title from table of contents */
.notoctitle #toctitle {
display: none;
}
/* TOC horizontally */
.htoc li {
display: inline;
}
/* 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 none;
margin: .3em 0 0;
padding: 0;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
/* @noflip */
margin: 0;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}