2022-02-28 02:59:44 +08:00
|
|
|
|
/**
|
|
|
|
|
* Basic typography style for copy text
|
|
|
|
|
*/
|
|
|
|
|
|
2022-03-04 18:04:42 +08:00
|
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+SC&family=Noto+Sans+JP&family=IBM+Plex+Sans+Thai+Looped&display=swap");
|
2022-02-28 02:59:44 +08:00
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: LXGWClearGothic;
|
2022-03-04 18:04:42 +08:00
|
|
|
|
src: url("../fonts/LXGWClearGothic-Regular.ttf&display=swap");
|
2022-02-28 02:59:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial,
|
|
|
|
|
"IBM Plex Sans Thai Looped", $text-font-stack;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[lang="zh-cn"] body {
|
|
|
|
|
font-family: "Noto Sans SC", "Hiragino Sans GB", "华文细黑", "STHeiti",
|
|
|
|
|
"微软雅黑", "Microsoft YaHei", SimHei, "Helvetica Neue", Helvetica, Arial,
|
|
|
|
|
"IBM Plex Sans Thai Looped", $text-font-stack;
|
|
|
|
|
}
|
|
|
|
|
[lang="zh-hant"] body {
|
|
|
|
|
font-family: LXGWClearGothic, "微軟正黑體", "Microsoft JhengHei", "新細明體",
|
|
|
|
|
"PMingLiU", "細明體", "MingLiU", "蘋果儷中黑", "Apple LiGothic Medium",
|
|
|
|
|
"儷黑 Pro", "LiHei Pro Medium", "IBM Plex Sans Thai Looped",
|
|
|
|
|
$text-font-stack;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[lang="ja"] body {
|
|
|
|
|
font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",
|
|
|
|
|
"メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", "MS Gothic",
|
|
|
|
|
"MS ゴシック", "Helvetica Neue", "IBM Plex Sans Thai Looped", Helvetica,
|
|
|
|
|
Arial, $text-font-stack;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
font-family: sans-serif;
|
|
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
code,
|
|
|
|
|
pre {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
font-family: $code-font-stack;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h1 {
|
|
|
|
|
font-size: 4rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h2 {
|
|
|
|
|
font-size: 3.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h3 {
|
|
|
|
|
font-size: 3rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h4 {
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h5 {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h6 {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.p1 {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.p2 {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.caption {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
}
|