MediaWiki:Common.css: Difference between revisions
m cleaned + fallback menu Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 3: | Line 3: | ||
Fallback mobile menu styles are appended at the end | Fallback mobile menu styles are appended at the end | ||
========================================================= */ | ========================================================= */ | ||
/* ---------- Gotham fonts (restore .otf first; add woff2/woff if available) ---------- */ | |||
/* ---------- | /* If your working fonts were the .otf files you had before, these URLs match that setup. */ | ||
@font-face { | @font-face { | ||
font-family: "Gotham- | font-family: "Gotham-Book"; | ||
src: url("/styles/Gotham- | src: url("/styles/Gotham-Book.otf") format("truetype"), | ||
url("/styles/Gotham-Book.woff2") format("woff2"), | |||
url("/styles/Gotham-Book.woff") format("woff"); | |||
font-weight: 400; | |||
font-style: normal; | |||
font-display: swap; | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Gotham-Bold"; | font-family: "Gotham-Bold"; | ||
src: url("/styles/Gotham-Bold.otf"); | src: url("/styles/Gotham-Bold.otf") format("truetype"), | ||
url("/styles/Gotham-Bold.woff2") format("woff2"), | |||
url("/styles/Gotham-Bold.woff") format("woff"); | |||
font-weight: 700; | |||
font-style: normal; | |||
font-display: swap; | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Gotham- | font-family: "Gotham-Black"; | ||
src: url("/styles/Gotham- | src: url("/styles/Gotham-Black.otf") format("truetype"), | ||
url("/styles/Gotham-Black.woff2") format("woff2"), | |||
url("/styles/Gotham-Black.woff") format("woff"); | |||
font-weight: 900; | |||
font-style: normal; | |||
font-display: swap; | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Gotham- | font-family: "Gotham-BookItalic"; | ||
src: url("/styles/Gotham- | src: url("/styles/Gotham-BookItalic.otf") format("truetype"), | ||
url("/styles/Gotham-BookItalic.woff2") format("woff2"), | |||
url("/styles/Gotham-BookItalic.woff") format("woff"); | |||
font-weight: 400; | |||
font-style: italic; | |||
font-display: swap; | |||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Gotham- | font-family: "Gotham-BoldItalic"; | ||
src: url("/styles/Gotham- | src: url("/styles/Gotham-BoldItalic.otf") format("truetype"), | ||
url("/styles/Gotham-BoldItalic.woff2") format("woff2"), | |||
url("/styles/Gotham-BoldItalic.woff") format("woff"); | |||
font-weight: 700; | |||
font-style: italic; | |||
font-display: swap; | |||
} | } | ||