Compare commits

..

2 Commits

Author SHA1 Message Date
a9bd56b658 feat: 将霞鹜文楷也应用到文章内 h2 标题
- 统一文章内所有标题层级的字体风格
- 保持视觉一致性

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 16:01:28 +08:00
e8666d19ee feat: 扩展霞鹜文楷字体到所有主标题级别
- 应用到 .type-title(页面标题、站点标题)
- 应用到 .type-subtitle(区块副标题)
- 应用到全局 h1 和 h2(所有主标题级别)
- 保持卡片标题、导航、正文等使用系统字体
- 统一大标题层级的视觉风格

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 16:01:21 +08:00

View File

@@ -229,7 +229,7 @@ body {
color: var(--color-ink-strong); color: var(--color-ink-strong);
font-weight: 600; font-weight: 600;
letter-spacing: -0.02em; letter-spacing: -0.02em;
font-family: var(--font-serif-eng), "Songti SC", serif; font-family: var(--font-serif-cn), var(--font-serif-eng), "Songti SC", serif;
} }
.prose h3 { .prose h3 {
@@ -416,7 +416,7 @@ body {
font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem); font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem);
line-height: 1.3; line-height: 1.3;
font-weight: var(--font-weight-semibold); font-weight: var(--font-weight-semibold);
font-family: var(--font-serif-eng), "Songti SC", serif; font-family: var(--font-serif-cn), var(--font-serif-eng), "Songti SC", serif;
letter-spacing: 0.02em; letter-spacing: 0.02em;
} }
@@ -424,7 +424,7 @@ body {
font-size: clamp(1.25rem, 0.9rem + 1vw, 1.9rem); font-size: clamp(1.25rem, 0.9rem + 1vw, 1.9rem);
line-height: 1.35; line-height: 1.35;
font-weight: var(--font-weight-medium); font-weight: var(--font-weight-medium);
font-family: var(--font-serif-eng), "Songti SC", serif; font-family: var(--font-serif-cn), var(--font-serif-eng), "Songti SC", serif;
letter-spacing: 0.02em; letter-spacing: 0.02em;
} }
@@ -443,13 +443,13 @@ body {
h1 { h1 {
font-weight: 700; font-weight: 700;
letter-spacing: -0.03em; letter-spacing: -0.03em;
font-family: var(--font-serif-eng), "Songti SC", serif; font-family: var(--font-serif-cn), var(--font-serif-eng), "Songti SC", serif;
} }
h2 { h2 {
font-weight: 600; font-weight: 600;
letter-spacing: -0.02em; letter-spacing: -0.02em;
font-family: var(--font-serif-eng), "Songti SC", serif; font-family: var(--font-serif-cn), var(--font-serif-eng), "Songti SC", serif;
} }
.type-nav { .type-nav {