MediaWiki:Common.css: Difference between revisions
Wikibackup (talk | contribs) (Differentiate H4 and H5 headings) |
Wikibackup (talk | contribs) (Use simple black H4 and H5 heading styles) |
||
| Line 1: | Line 1: | ||
/* | /* Simple black heading hierarchy */ | ||
.mw-parser-output h4 { | .mw-parser-output h4 { | ||
margin-top: 1. | margin-top: 1.6em; | ||
margin-bottom: 0. | margin-bottom: 0.45em; | ||
padding-bottom: 0. | padding-bottom: 0.2em; | ||
font-size: 1. | font-size: 1.25em; | ||
line-height: 1.3; | line-height: 1.3; | ||
font-weight: 700; | font-weight: 700; | ||
color: # | color: #000; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #000; | ||
} | } | ||
.mw-parser-output h5 { | .mw-parser-output h5 { | ||
margin-top: | margin-top: 1em; | ||
margin-bottom: 0. | margin-bottom: 0.35em; | ||
margin-left: | margin-left: 0.75em; | ||
padding-left: 0. | padding-left: 0.5em; | ||
font-size: 1. | font-size: 1.05em; | ||
line-height: 1.35; | line-height: 1.35; | ||
font-weight: 600; | font-weight: 600; | ||
color: #000; | |||
color: # | border-left: 2px solid #000; | ||
border-left: | |||
} | } | ||
@media (max-width: 640px) { | @media (max-width: 640px) { | ||
.mw-parser-output h4 { | .mw-parser-output h4 { | ||
font-size: 1. | font-size: 1.18em; | ||
} | } | ||
.mw-parser-output h5 { | .mw-parser-output h5 { | ||
margin-left: 0. | margin-left: 0.4em; | ||
font-size: 1.02em; | font-size: 1.02em; | ||
} | } | ||
} | } | ||
Revision as of 00:03, 9 October 2026
/* Simple black heading hierarchy */
.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;
color: #000;
border-bottom: 1px solid #000;
}
.mw-parser-output h5 {
margin-top: 1em;
margin-bottom: 0.35em;
margin-left: 0.75em;
padding-left: 0.5em;
font-size: 1.05em;
line-height: 1.35;
font-weight: 600;
color: #000;
border-left: 2px solid #000;
}
@media (max-width: 640px) {
.mw-parser-output h4 {
font-size: 1.18em;
}
.mw-parser-output h5 {
margin-left: 0.4em;
font-size: 1.02em;
}
}