MediaWiki:Common.css: Difference between revisions
From The Imperium Project Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
(47 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* {font-family:poppins} | * {font-family:poppins} | ||
* {font-size: | |||
p,ol,li {font-size:18px} | |||
/* 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: inline; | |||
} | |||
h1 { font-weight: bold; border-bottom: 4px double blue; font-size: 34px !important;} | |||
h2 { font-weight: bold; border-bottom: 2px solid blue; font-size: 30px !important;} | |||
h3 { font-weight: bold; border-bottom: 2px outset blue; font-size: 28px !important;} | |||
h4 { font-weight: bold; border-bottom: 1.5px outset black; font-size: 24px !important;} | |||
h5 { font-weight: bold; border-bottom: 1.5px outset black; font-size: 20px !important;} | |||
h6 { font-weight: bold; border-bottom: 1px outset black; font-size: 20px !important;} | |||
.tocnumber:after { content: '.' } | |||
h1 .mw-headline-number { display: none; } |
Latest revision as of 22:13, 2 January 2022
/* CSS placed here will be applied to all skins */ * {font-family:poppins} p,ol,li {font-size:18px} /* 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: inline; } h1 { font-weight: bold; border-bottom: 4px double blue; font-size: 34px !important;} h2 { font-weight: bold; border-bottom: 2px solid blue; font-size: 30px !important;} h3 { font-weight: bold; border-bottom: 2px outset blue; font-size: 28px !important;} h4 { font-weight: bold; border-bottom: 1.5px outset black; font-size: 24px !important;} h5 { font-weight: bold; border-bottom: 1.5px outset black; font-size: 20px !important;} h6 { font-weight: bold; border-bottom: 1px outset black; font-size: 20px !important;} .tocnumber:after { content: '.' } h1 .mw-headline-number { display: none; }