MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Storyteller (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: @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 Noto Serif:: #content h1, #content h2 { font-family: "Uncial Antiqua", serif; }") |
Storyteller (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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') | @import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap') | ||
Line 8: | Line 10: | ||
} | } | ||
/* Changes the default font used for MediaWiki headings to | /* Changes the default font used for MediaWiki headings to Uncial+Antiqua: */ | ||
#content h1, | #content h1, | ||
#content h2 { | #content h2 { | ||
font-family: "Uncial Antiqua", serif; | font-family: "Uncial Antiqua", serif; | ||
} | } |
Revision as of 08:16, 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 { font-family: "Uncial Antiqua", serif; }