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 2: | Line 2: | ||
<style> | |||
/* 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') | ||
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | ||
Line 20: | Line 19: | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
</style> |
Revision as of 08:23, 16 June 2024
/* CSS placed here will be applied to all skins */ <style> /* 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; } </style>