From 41cb0b6722c14405ae201e989c3e82919d4f7742 Mon Sep 17 00:00:00 2001 From: fukunee Date: Sun, 15 Nov 2026 20:31:25 +0800 Subject: [PATCH] Set section headings in body size, bold and indented --- assets/css/custom.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 5a9ab78..0ad8219 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -98,12 +98,17 @@ kbd { } /* 正文小标题:比主题默认小一号,h2 30px→24px,h3 24px→20px,保持层级差 */ +/* 二级标题与正文同字号、加粗并缩进两字,做成文中的粗体小标题 */ .content h2 { - font-size: 1.5rem; + font-size: 1rem; + font-weight: 700; + text-indent: 2em; } +/* 三级标题再轻一点,免得比二级还重 */ .content h3 { - font-size: 1.25rem; + font-size: 1rem; + font-weight: 600; } .content p:first-child {