151
edits
m |
m |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
} | } | ||
/* | /* Global variables (use the EXACT family names exposed by the 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; | ||
--font-body: "myriad-pro", "Myriad Pro", "Myriad", "Segoe UI", "Helvetica Neue", Arial, sans-serif; | --font-body: "myriad-pro", "Myriad Pro", "Myriad", "Segoe UI", "Helvetica Neue", Arial, sans-serif; | ||
--outline-size: 0.0035em; | --outline-size: 0.0035em; /* 0.35% */ | ||
--outline-colour: #000; | --outline-colour: #000; | ||
} | } | ||
/* | /* 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 42: | Line 34: | ||
} | } | ||
/* | /* Prominent elements = Century Gothic + 0.35% outline */ | ||
h1#firstHeading, | h1#firstHeading, | ||
#firstHeading .mw-page-title-main, | #firstHeading .mw-page-title-main, | ||
| Line 68: | Line 60: | ||
} | } | ||
/* | /* 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; | ||
| Line 74: | Line 66: | ||
text-shadow: none !important; | text-shadow: none !important; | ||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important; | ||
} | } | ||