MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
h2 { | h2 { | ||
font-size: 1. | font-size: 1.25em !important; | ||
margin-top: 1em !important; | margin-top: 1em !important; | ||
margin-bottom: 0.25em !important; | margin-bottom: 0.25em !important; | ||
Revision as of 09:47, 7 November 2026
/* CSS placed here will be applied to all skins */
/* 1. base font */
.mw-body-content,
.mw-parser-output,
.mw-parser-output p {
font-size: 16px !important;
line-height: 1.6em !important;
font-family: sans-serif !important;
}
/* 2. headings */
h1.firstHeading {
font-size: 1.65em !important;
margin-bottom: 0.25em !important;
padding-bottom: 0 !important;
}
h2 {
font-size: 1.25em !important;
margin-top: 1em !important;
margin-bottom: 0.25em !important;
}
h3 {
font-size: 1.15em !important;
}
/* 3. bullet points */
.mw-parser-output ul,
.mw-parser-output ol,
.mw-parser-output li {
font-size: 16px !important;
line-height: 1.5em !important;
}
/* 4. infobox */
.infobox {
font-size: 13.5px !important;
line-height: 1.4em !important;
}