“MediaWiki:Common.css”的版本间的差异
来自China Digital Space
第1行: | 第1行: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:wght@400;700&display=swap'); | |
− | h1, h2 | + | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ |
− | + | body { | |
+ | font-family: "Noto Sans SC", sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Changes the default font used for MediaWiki headings to Noto Serif: */ | ||
+ | #content h1, | ||
+ | #content h2 { | ||
+ | font-family: "Noto Serif SC", serif; | ||
} | } |
2021年2月2日 (二) 16:51的版本
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&family=Noto+Serif+SC:wght@400;700&display=swap');
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
font-family: "Noto Sans SC", sans-serif;
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1,
#content h2 {
font-family: "Noto Serif SC", serif;
}