From WikiChip
Difference between revisions of "MediaWiki:Common.css"

Line 5: Line 5:
  
  
/* Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */
+
/* hide the title from table of contents */
.hlist .tocnumber,
 
.hlist .toctext {
 
    display: inline;
 
}
 
 
 
 
.notoctitle #toctitle {
 
.notoctitle #toctitle {
 
     display: none;
 
     display: none;
 +
}
 +
/* TOC horizontally */
 +
.htoc li {
 +
  display: inline;
 
}
 
}
  

Revision as of 17:43, 29 December 2015

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