MediaWiki:Common.css

From Randomdata wiki
Revision as of 11:55, 22 March 2025 by Randomdata (talk | contribs)
Jump to navigation Jump 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*
 * This is the CSS for all skins (for both mobile and desktop) on MediaWiki.org.
 * Styling inside .mw-parser-output should generally use TemplateStyles.
 */


/* Force lining numbers in headers (for fonts like Georgia) */
h1,
.firstHeading {
    font-variant-numeric: lining-nums;
    background-color: var( --background-color-error-subtle, #000000 );
    color: green;
}
h2,
.firstHeading {
    font-variant-numeric: lining-nums;
    background-color: var( --background-color-error-subtle, #ABCA4B );
}

div#bodyContent{
    font-variant-numeric: lining-nums;
    background-color: var( --background-color-error-subtle, #ABCA4B );
}

div#toc {
    font-variant-numeric: lining-nums;
    background-color: var( --background-color-error-subtle, #ABCA4B );
}