MediaWiki:Common.css: Difference between revisions

m
no edit summary
m
 
(6 intermediate revisions by the same user not shown)
Line 14: Line 14:
}
}


/* 1) Load your Adobe Fonts kit (must include Century Gothic + Myriad Pro) */
/* Global variables (use the EXACT family names exposed by the kit CSS) */
 
/* 2) Global variables (use the EXACT family names exposed by your kit CSS) */
:root{
:root{
   --font-prominent: "century-gothic", "Century Gothic", "URW Gothic L", "Apple Gothic", "Avant Garde", sans-serif;
   --font-prominent: "century-gothic", "Century Gothic", "URW Gothic L", "Apple Gothic", "Avant Garde", sans-serif;
Line 25: Line 23:
}
}


/* 3) Default = Myriad Pro for non-prominent text */
/* Default = Myriad Pro for non-prominent text */
html, body, .mw-body, .mw-parser-output, .vector-body,
html, body, .mw-body, .mw-parser-output, .vector-body,
.mw-content-ltr, .mw-content-rtl,
.mw-content-ltr, .mw-content-rtl,
Line 36: Line 34:
}
}


/* 4) Prominent elements = Century Gothic + 0.35% outline */
/* Prominent elements = Century Gothic + 0.35% outline */
h1#firstHeading,
h1#firstHeading,
#firstHeading .mw-page-title-main,
#firstHeading .mw-page-title-main,
Line 62: Line 60:
}
}


/* 5) Keep code/math monospace and un-outlined */
/* Keep code/math monospace and un-outlined */
pre, code, kbd, samp, tt, .mw-code, .mw-highlight, .mwe-math-element {
pre, code, kbd, samp, tt, .mw-code, .mw-highlight, .mwe-math-element {
   -webkit-text-stroke: 0 !important;
   -webkit-text-stroke: 0 !important;