feat: 全局字体和代码块字体大小
This commit is contained in:
parent
f3f87e220e
commit
be21f8a99a
|
|
@ -411,6 +411,12 @@
|
||||||
--container-width-lg: calc(var(--spacing) * 256);
|
--container-width-lg: calc(var(--spacing) * 256);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", ui-sans-serif,
|
||||||
|
system-ui, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
/* ========================================
|
/* ========================================
|
||||||
Streamdown Markdown Styles
|
Streamdown Markdown Styles
|
||||||
使用 data-streamdown 属性选择器统一定义
|
使用 data-streamdown 属性选择器统一定义
|
||||||
|
|
@ -452,9 +458,9 @@ pre {
|
||||||
font-size: calc(16px * var(--zoom-scale));
|
font-size: calc(16px * var(--zoom-scale));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 二三级标题 - 16px */
|
/* 代码块 - 14px */
|
||||||
[data-streamdown="code-block"] pre {
|
[data-streamdown="code-block"] pre {
|
||||||
font-size: calc(16px * var(--zoom-scale));
|
font-size: calc(14px * var(--zoom-scale));
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-line {
|
.cm-line {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue