Jump to content

MediaWiki:Common.css

From Joint Security Area
Revision as of 09:33, 7 November 2026 by Adam (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →fixing article fonts to make it look like actual wiki: body { font-size: 15px !important; line-height: 1.6em !important; } →central text: .mw-body-content, #mw-content-text { font-size: 1.05em !important; } →subheadings: h1 { font-size: 1.8em !important; } h2 { font-size: 1.5em !important; } h3 { font-size: 1.25em !important; } →sidebar navigation: #mw-panel, .portal, #p-navigation { f...")
(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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* fixing article fonts to make it look like actual wiki */
body {
    font-size: 15px !important;
    line-height: 1.6em !important;
}

/* central text */
.mw-body-content, #mw-content-text {
    font-size: 1.05em !important;
}

/* subheadings */
h1 { font-size: 1.8em !important; }
h2 { font-size: 1.5em !important; }
h3 { font-size: 1.25em !important; }

/* sidebar navigation */
#mw-panel, .portal, #p-navigation {
    font-size: 0.95em !important;
}