MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
.mw-parser-output, | .mw-parser-output, | ||
.mw-parser-output p { | .mw-parser-output p { | ||
font-size: | font-size: 15px !important; | ||
line-height: 1. | line-height: 1.8em !important; | ||
font-family: sans-serif !important; | font-family: sans-serif !important; | ||
} | } | ||
Latest revision as of 19:32, 7 November 2026
/* CSS placed here will be applied to all skins */
/* 1. base text */
.mw-body-content,
.mw-parser-output,
.mw-parser-output p {
font-size: 15px !important;
line-height: 1.8em !important;
font-family: sans-serif !important;
}
/* 2. headers */
h1.firstHeading {
font-size: 1.8em !important;
margin-bottom: 0.25em !important;
padding-bottom: 0 !important;
}
h2 {
font-size: 1.5em !important; font-weight: normal !important;
margin-top: 1em !important;
margin-bottom: 0.25em !important;
}
h3 {
font-size: 1.2em !important; font-weight: bold !important;
}
/* 3. Keep list items and bullet point indices tracking at matching scales */
.mw-parser-output ul,
.mw-parser-output ol,
.mw-parser-output li {
font-size: 14px !important;
line-height: 1.5em !important;
}
/* 4. infobox */
.infobox {
font-size: 12.5px !important;
line-height: 1.4em !important;
}
h3 {
font-size: 1.15em !important;
}