MediaWiki:Vector.css

From GersteinInfo
Revision as of 15:42, 18 December 2025 by Infoadmin (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 --- */

/* --- Main content font --- */
.mw-body {
    font-family: sans-serif !important; /* Monobook-like sans-serif */
    font-size: x-small;                  /* Monobook body text size */
}

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

/* Optional: slightly scale headings 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%; }

/* --- Keep sidebar and portlets at Vector default size --- */
#mw-panel, #mw-panel .portlet, #mw-panel .pBody {
    font-size: 100%;  /* default Vector font size */
    font-family: inherit; /* keep Vector’s inherited styling */
}