MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Bryandamon (talk | contribs) (Added toclimit) |
Bryandamon (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
.toclimit-7 .toclevel-6 ul { | .toclimit-7 .toclevel-6 ul { | ||
display: none; | display: none; | ||
} | |||
/* The following is a test for page level CSS changes on the Bylaws talk page*/ | |||
body.page-Talk_Bylaws p, body.page-Talk_Bylaws h3, body.page-Talk_Bylaws h4, | |||
body.page-Talk_Bylaws h5, body.page-Talk_Bylaws h6, body.page-Talk_Bylaws ol, | |||
body.page-Talk_Bylaws ul { | |||
font-weight: normal; | |||
font-size: 1em; | |||
} | } |
Revision as of 18:03, 9 January 2019
.hourminute a {
min-width: 50px;
}
div.hourminute {
min-width: 50px !important;
}
/* 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;
}
/* The following is a test for page level CSS changes on the Bylaws talk page*/
body.page-Talk_Bylaws p, body.page-Talk_Bylaws h3, body.page-Talk_Bylaws h4,
body.page-Talk_Bylaws h5, body.page-Talk_Bylaws h6, body.page-Talk_Bylaws ol,
body.page-Talk_Bylaws ul {
font-weight: normal;
font-size: 1em;
}