fix: add quote and fix line-height issue

This commit is contained in:
Sivan 2021-08-12 18:46:53 +08:00
parent e485049de2
commit 3b1c242806
4 changed files with 23 additions and 23 deletions

View file

@ -9,9 +9,9 @@ $manualmode-dark-selector: '[data-darkmode="dark"] &' !default;
// 字体 Fonts
// 字体栈 Font Stacks
$_font-stack-sans: "Helvetica Neue", Helvetica, Arial !default;
$_font-stack-serif: "Times New Roman", Times !default;
$_font-stack-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier !default;
$_font-stack-sans: "Helvetica Neue", helvetica, arial !default;
$_font-stack-serif: "Times New Roman", times !default;
$_font-stack-mono: "SFMono-Regular", consolas, "Liberation Mono", menlo, courier !default;
$_font-stack-symbol: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
// 字体族 Font Families

View file

@ -17,7 +17,7 @@
src:
local("Songti SC Light"),
local("Songti TC Light"),
local(STSong),
local("STSong"),
local("SimSun");
}

View file

@ -16,6 +16,8 @@
}
// 定义传统字体
// 传统字体仅供设计参考主旨为标题用楷体正文用宋体表头等客观指标描述场合用黑体
// 由于渲染机制等原因应尽量避免衬线非衬线字体混排会引起行高不一致的bug
&--classic {
// 正文使用宋体
font-family: $font-family-song;
@ -38,8 +40,7 @@
font-family: $font-family-kai;
}
// 强调说明文字表头使用黑体
em,
// 说明文字表头等反应客观指标事物的位置使用黑体
figcaption,
caption,
th {