MediaWiki:Common.css

From Road Traffic Injury
Revision as of 00:02, 9 October 2026 by Wikibackup (talk | contribs) (Differentiate H4 and H5 headings)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Distinguish heading levels throughout the wiki */
.mw-parser-output h4 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    padding-bottom: 0.25em;
    font-size: 1.3em;
    line-height: 1.3;
    font-weight: 700;
    color: #2a4b8d;
    border-bottom: 1px solid #a2a9b1;
}

.mw-parser-output h5 {
    margin-top: 1.25em;
    margin-bottom: 0.45em;
    margin-left: 1em;
    padding-left: 0.65em;
    font-size: 1.08em;
    line-height: 1.35;
    font-weight: 600;
    font-style: italic;
    color: #54595d;
    border-left: 3px solid #a2a9b1;
}

@media (max-width: 640px) {
    .mw-parser-output h4 {
        font-size: 1.2em;
    }

    .mw-parser-output h5 {
        margin-left: 0.5em;
        font-size: 1.02em;
    }
}