Quartz sync: 2025-02-04 14:54:24

This commit is contained in:
ArenaDruid 2025-02-04 14:54:24 +08:00
parent 83eb81a86e
commit 50f4e11c88

View File

@ -2,25 +2,11 @@
// put your custom CSS here! // put your custom CSS here!
/* 定义中文斜体专用字体 */ // 定义变量
@font-face { $chinese-italic-font: 'ChineseItalic';
font-family: 'ChineseItalic'; $western-font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
font-style: italic;
src: local('楷体'),
local('Kaiti SC'),
local('STKaiti');
unicode-range: U+4E00-9FFF; /* 中文字符范围 */
}
/* 智能应用规则 */
em, .cm-em, i { em, .cm-em, i {
font-family: font-family: $western-font-stack, $chinese-italic-font;
-apple-system, /* 西文字体栈 */ font-style: italic;
BlinkMacSystemFont,
'Segoe UI',
Roboto,
'ChineseItalic', /* 中文斜体触发 */
sans-serif;
font-style: italic; /* 必须保持斜体状态 */
} }