MediaWiki:Common.css: Difference between revisions
Change the font
Nikitaivanov (talk | contribs) No edit summary |
Nikitaivanov (talk | contribs) (Change the font) |
||
Line 4: | Line 4: | ||
*/ | */ | ||
@font-face { | @font-face { | ||
font-family: "Baloo2"; | font-family: "Baloo2"; | ||
src: url( | src: url(/wikiw/resources/fonts/Baloo2-Regular.ttf) format("truetype"); | ||
font-weight: | font-weight: 500; | ||
font-style: normal; | font-style: normal; | ||
font-display: swap | font-display: swap | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Baloo2"; | font-family: "Baloo2"; | ||
src: url( | src: url(/wikiw/resources/fonts/Baloo2-Medium.ttf) format("truetype"); | ||
font-weight: 500; | font-weight: 500; | ||
font-style: normal; | font-style: normal; | ||
font-display: swap | font-display: swap | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: "Baloo2"; | font-family: "Baloo2"; | ||
src: url( | src: url(/wikiw/resources/fonts/Baloo2-Bold.ttf) format("truetype"); | ||
font-weight: 700; | font-weight: 700; | ||
font-style: normal; | font-style: normal; | ||
font-display: swap; | font-display: swap | ||
} | |||
html,body, .mw-body { | |||
font-family: "Baloo2", sans-serif; | |||
font-size: 19px; | |||
} | } | ||
.mw-body h1, .mw-body h2 { | |||
font-family: "Baloo2", sans-serif; | font-family: "Baloo2", sans-serif; | ||
} | } |