MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Globally import Fira Code from Google Fonts) |
m (Lock Fira Code down to Citizen) |
||
Line 6: | Line 6: | ||
} | } | ||
pre, code, tt, kbd, samp, .mw-code { | .skin-citizen pre, code, tt, kbd, samp, .mw-code { | ||
font-family: var(--font-family-monospace) !important; | font-family: var(--font-family-monospace) !important; | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
} | } |
Latest revision as of 10:43, 10 June 2023
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Fira%20Code:wght@300&display=swap');
:root {
--font-family-monospace: 'Fira Code','Courier New',monospace !important;
}
.skin-citizen pre, code, tt, kbd, samp, .mw-code {
font-family: var(--font-family-monospace) !important;
font-size: 0.875rem;
}