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 12: | Line 12: | ||
/* Changes the default font used for MediaWiki headings to Uncial+Antiqua: */ | /* Changes the default font used for MediaWiki headings to Uncial+Antiqua: */ | ||
#content h1 | #content h1{ | ||
.uncial-antiqua-regular { | |||
.uncial-antiqua-regular { | font-family: "Uncial Antiqua", system-ui; | ||
font-weight: 400; | |||
font-style: normal; | |||
}, | |||
} | #content h2 | ||
} | } | ||
</style> | </style> |
Revision as of 08:28, 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{ .uncial-antiqua-regular { font-family: "Uncial Antiqua", system-ui; font-weight: 400; font-style: normal; }, #content h2 } </style>