MediaWiki:Common.css: Difference between revisions
Wikibackup (talk | contribs) (Use simple black H4 and H5 heading styles) |
Wikibackup (talk | contribs) (Make H4 and H5 heading hierarchy consistent) |
||
| Line 1: | Line 1: | ||
/* | /* Consistent black heading hierarchy */ | ||
.mw-parser-output h4, | |||
.mw-parser-output h5 { | |||
font-family: sans-serif; | |||
color: #000; | |||
font-style: normal; | |||
} | |||
.mw-parser-output h4 { | .mw-parser-output h4 { | ||
margin-top: 1.6em; | margin-top: 1.6em; | ||
| Line 7: | Line 14: | ||
line-height: 1.3; | line-height: 1.3; | ||
font-weight: 700; | font-weight: 700; | ||
border-bottom: 1px solid #000; | border-bottom: 1px solid #000; | ||
} | } | ||
| Line 14: | Line 20: | ||
margin-top: 1em; | margin-top: 1em; | ||
margin-bottom: 0.35em; | margin-bottom: 0.35em; | ||
padding: 0; | |||
padding | font-size: 1.08em; | ||
font-size: 1. | |||
line-height: 1.35; | line-height: 1.35; | ||
font-weight: | font-weight: 700; | ||
} | } | ||
| Line 29: | Line 32: | ||
.mw-parser-output h5 { | .mw-parser-output h5 { | ||
font-size: 1.04em; | |||
font-size: 1. | |||
} | } | ||
} | } | ||
Revision as of 00:05, 9 October 2026
/* Consistent black heading hierarchy */
.mw-parser-output h4,
.mw-parser-output h5 {
font-family: sans-serif;
color: #000;
font-style: normal;
}
.mw-parser-output h4 {
margin-top: 1.6em;
margin-bottom: 0.45em;
padding-bottom: 0.2em;
font-size: 1.25em;
line-height: 1.3;
font-weight: 700;
border-bottom: 1px solid #000;
}
.mw-parser-output h5 {
margin-top: 1em;
margin-bottom: 0.35em;
padding: 0;
font-size: 1.08em;
line-height: 1.35;
font-weight: 700;
}
@media (max-width: 640px) {
.mw-parser-output h4 {
font-size: 1.18em;
}
.mw-parser-output h5 {
font-size: 1.04em;
}
}