MediaWiki:Vector.css: Difference between revisions

From Halachipedia
No edit summary
No edit summary
Line 8: Line 8:
img[alt="Banner"] {
img[alt="Banner"] {
max-width: 100%; height: auto; width: 100%;
max-width: 100%; height: auto; width: 100%;
}
/**
* 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.
* Used in [[Template:TOC]]
*/
.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;
}
}

Revision as of 02:52, 22 September 2013

/* CSS placed here will affect users of the Vector skin */
body.page-Main_Page #siteNotice {
      display:none;
}
body.page-Main_Page #contentSub {
      display:none;
}
img[alt="Banner"] {
max-width: 100%; height: auto; width: 100%;
}
/**
 * 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.
 * Used in [[Template:TOC]]
 */
.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;
}