feat: add fonts for Traditional Chinese

This commit is contained in:
Sivan 2020-02-18 14:56:35 +08:00
parent 3321e9ebfe
commit 81c615db4d
12 changed files with 211 additions and 75 deletions

View file

@ -18,13 +18,13 @@
h4,
h5,
h6 {
font-family: $font-family-kai;
font-family: $font-family-kai-black;
font-weight: $font-weight-bolder;
text-align: center;
// 标题内元信息仅在桌面端采取悬挂处理且不占据空间影响文字居中
#{$root-selector}-meta {
font-weight: 400;
font-weight: $font-weight-normal;
@media screen and (min-width: 640px) {
@include hang();

View file

@ -22,23 +22,18 @@
// 正文使用宋体
font-family: $font-family-song;
// 标题使用 800 字重
// 标题使用楷体 800 字重
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: $font-family-kai-black;
font-weight: $font-weight-bolder;
}
// 标题引用使用楷体
h1,
h2,
h3,
h4,
h5,
h6,
// 引用使用楷体
blockquote,
cite,
q {
@ -52,4 +47,16 @@
font-family: $font-family-hei;
}
}
&--hei {
font-family: $font-family-hei;
}
&--song {
font-family: $font-family-song;
}
&--kai {
font-family: $font-family-kai;
}
}