MediaWiki:Common.css: Difference between revisions

From Formula One Wiki
Jump to navigation Jump to search
m
m
Line 14: Line 14:
}
}


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


.mw-content p { font-family: ‘century-gothic’; }
/* 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;
}

Revision as of 14:19, 10 October 2025

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