“MediaWiki:Common.css”的版本间的差异
跳到导航
跳到搜索
Futagawa Fumi(讨论 | 贡献) |
Futagawa Fumi(讨论 | 贡献) |
||
第8行: | 第8行: | ||
#mw-page-base { | #mw-page-base { | ||
background: #fff0f3; | background: #fff0f3; | ||
+ | } | ||
+ | |||
+ | @import url( 'https://fonts.googleapis.com/css?family=Noto+Serif+SC:400,600,800 '); | ||
+ | |||
+ | /* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */ | ||
+ | body { | ||
+ | font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK", "Source Han Serif", source-han-serif-sc, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Changes the default font used for MediaWiki headings to Noto Serif: */ | ||
+ | #content h1, | ||
+ | #content h2 { | ||
+ | font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK", "Source Han Serif", source-han-serif-sc, sans-serif; | ||
} | } |
2021年3月18日 (四) 17:58的版本
/* 这里放置的CSS将应用于所有皮肤 */
body {
background: #fff0f3;
}
/* Changes the background color behind the top half of the logo and at top of each page: */
#mw-page-base {
background: #fff0f3;
}
@import url( 'https://fonts.googleapis.com/css?family=Noto+Serif+SC:400,600,800 ');
/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK", "Source Han Serif", source-han-serif-sc, sans-serif;
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
#content h1,
#content h2 {
font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK", "Source Han Serif", source-han-serif-sc, sans-serif;
}