MediaWiki:Common.css: Difference between revisions
From The Imperium Project Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (21 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
* {font-family:poppins} | * {font-family:poppins} | ||
p,ol,li {font-size:18px} | |||
/* Allow limiting of which header levels are shown in a TOC; | /* Allow limiting of which header levels are shown in a TOC; | ||
| Line 20: | Line 22: | ||
h1 { font-weight: bold; border-bottom: 4px double blue; } | h1 { font-weight: bold; border-bottom: 4px double blue; font-size: 34px !important;} | ||
h2 { font-weight: bold; border-bottom: | h2 { font-weight: bold; border-bottom: 2px solid blue; font-size: 30px !important;} | ||
h3 { font-weight: bold; border-bottom: | h3 { font-weight: bold; border-bottom: 2px outset blue; font-size: 28px !important;} | ||
h4 { font-weight: bold; border-bottom: | h4 { font-weight: bold; border-bottom: 1.5px outset black; font-size: 24px !important;} | ||
h5 { font-weight: bold; border-bottom: 1px | 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 | 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; }