MediaWiki:Vector.css

From GersteinInfo
Revision as of 15:36, 18 December 2025 by Infoadmin (talk | contribs)
Jump to navigationJump to search

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.
/* All CSS here will be loaded for users of the Vector skin */
/* Make headings sans-serif like Monobook */
/* --- Body and content --- */
/* --- Base font for the site --- */
body, .mw-body {
    font-family: sans-serif !important;  /* replaces Times/serif defaults */
    font-size: x-small;                   /* matches Monobook body text */
}

/* --- Headings --- */
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    font-family: sans-serif !important;  /* use sans-serif for all headings */
    color: black;                        /* ensure headings are black like Monobook */
    font-weight: normal;
}

/* Optional: slightly adjust heading sizes like Monobook */
h1 { font-size: 188%; }
h2 { font-size: 150%; }
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; }
h6 { font-size: 80%; }