refactor(guide): 调整第二章章节结构与站点标识
Deploy Guidebook to GitHub Pages / build (push) Canceled after 0s
Deploy Guidebook to GitHub Pages / deploy (push) Canceled after 0s

This commit is contained in:
2026-10-16 17:43:01 +08:00
parent 0f2f1f2cd7
commit b6a8fc399f
+24
View File
@@ -38,6 +38,24 @@
font-size: 1.18rem; font-size: 1.18rem;
} }
/* ---- 章节引导标题(如 2.2 / 2.2.1):与 h1 同款样式,并去掉上分隔线 ---- */
.gb-chapter-lead .vp-doc h2 {
margin-top: 2.4rem;
padding-top: 0;
border-top: none;
font-size: 1.9rem;
line-height: 1.3;
}
.gb-chapter-lead .vp-doc h2:first-of-type {
margin-top: 0;
}
/* ---- 该页 Step 标题:与其它页 h2 级 Step 保持一致的视觉尺寸 ---- */
.gb-chapter-lead .vp-doc h3[id^='step-'] {
font-size: 1.42rem;
}
/* ---- 正文图片:统一卡片化,响应式 ---- */ /* ---- 正文图片:统一卡片化,响应式 ---- */
.vp-doc img { .vp-doc img {
display: block; display: block;
@@ -127,6 +145,12 @@
/* ---- 移动端 ---- */ /* ---- 移动端 ---- */
@media (max-width: 640px) { @media (max-width: 640px) {
.gb-chapter-lead .vp-doc h2 {
font-size: 1.5rem;
}
.gb-chapter-lead .vp-doc h3[id^='step-'] {
font-size: 1.22rem;
}
.vp-doc h1 { .vp-doc h1 {
font-size: 1.5rem; font-size: 1.5rem;
} }