feat: 扩展霞鹜文楷字体到所有主标题级别
- 应用到 .type-title(页面标题、站点标题) - 应用到 .type-subtitle(区块副标题) - 应用到全局 h1 和 h2(所有主标题级别) - 保持卡片标题、导航、正文等使用系统字体 - 统一大标题层级的视觉风格 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user