MediaWiki:Common.css: Difference between revisions

m
no edit summary
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;
}