MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Globally set Fira Code as the default monospace font) |
(Globally import Fira Code from Google Fonts) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import url('https://fonts.googleapis.com/css2?family=Fira%20Code:wght@300&display=swap'); | |||
:root { | :root { | ||
--font-family-monospace: 'Fira Code','Courier New',monospace !important; | --font-family-monospace: 'Fira Code','Courier New',monospace !important; |
Revision as of 10:25, 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;
}
pre, code, tt, kbd, samp, .mw-code {
font-family: var(--font-family-monospace) !important;
font-size: 0.875rem;
}