MediaWiki:Common.css

From Formula One Wiki
Revision as of 14:19, 10 October 2025 by Formula (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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@import url('https://use.typekit.net/oov2wcw.css');

.skin-minerva.page-Main_Page #firstHeading {
    display: none;
}

/*  visualClear CSS class definition for SocialProfile extension
    because Vector does not include the definition anymore; see
    https://phabricator.wikimedia.org/T328235 and 
    https://phabricator.wikimedia.org/T287962 */
.visualClear {
	clear: both;
}

/* 1) A variable you can reuse */
:root { --font-sans: "century-gothic", "Century Gothic", "Apple Gothic", "URW Gothic L", "Avant Garde", sans-serif; }

/* 2) Vector 2022 (new Vector) overrides */
.skin-vector-2022 body,
.skin-vector-2022 .mw-body,
.skin-vector-2022 .vector-body,
.skin-vector-2022 .mw-parser-output {
  font-family: var(--font-sans) !important;
}

/* 3) Legacy Vector / MonoBook fallbacks */
.skin-vector body,
.skin-vector .mw-body,
.skin-monobook body,
.skin-monobook .mw-body,
.mw-parser-output,
body,
html {
  font-family: var(--font-sans) !important;
}

/* 4) Tables and headings (MW often styles these separately) */
.mw-body-content,
.mw-content-ltr,
.mw-content-rtl,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output td,
.mw-parser-output th,
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
  font-family: var(--font-sans) !important;
}