Jump to content

MediaWiki:Common.css

From Joint Security Area
Revision as of 09:43, 7 November 2026 by Adam (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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.8em !important; 
    margin-bottom: 0.25em !important;
    padding-bottom: 0 !important;
}

h2 { 
    font-size: 1.45em !important; 
    margin-top: 1em !important;
    margin-bottom: 0.25em !important;
}

}

h3 { 
    font-size: 1.2em !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;
}