MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Storyteller (talk | contribs) No edit summary |
Storyteller (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
/* This is intended to add custom fonts. */ | /* This is intended to add custom fonts. */ | ||
@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap') | @import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap') | ||
Line 19: | Line 15: | ||
#content h1, | #content h1, | ||
#content h2 { | #content h2 { | ||
font-family: "Uncial Antiqua", | .uncial-antiqua-regular { | ||
font-family: "Uncial Antiqua", system-ui; | |||
font-weight: 400; | |||
font-style: normal; | |||
} | } |
Revision as of 08:21, 16 June 2024
/* CSS placed here will be applied to all skins */ /* This is intended to add custom fonts. */ @import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap') /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ body { font-family: "Noto Sans", sans-serif; } /* Changes the default font used for MediaWiki headings to Uncial+Antiqua: */ #content h1, #content h2 { .uncial-antiqua-regular { font-family: "Uncial Antiqua", system-ui; font-weight: 400; font-style: normal; }