From 4b365a21e569285f784b2fdce01fbfed37b3e424 Mon Sep 17 00:00:00 2001 From: fukunee Date: Sun, 15 Nov 2026 18:03:35 +0800 Subject: [PATCH] More paragraph spacing; tighter quotes without the left rule --- assets/css/custom.css | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 632adf9..bcb3cc8 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -47,9 +47,26 @@ kbd { monospace; } -/* 段落:首行缩进两字;段间距小于行距,段落之间靠空行分开 */ +/* 段落:首行缩进两字;段间距比行距略小,段落之间靠空白分开 */ .content p { - margin-top: 0.5rem; + margin-top: 0.9rem; +} + +/* 引用:不要左侧竖线,行距收紧,段与段之间也只留一点缝 */ +.content blockquote { + border-left: 0; + padding-left: 0; + padding-right: 0; + line-height: 1.5; +} + +.content blockquote p { + margin-top: 0.35rem; + line-height: inherit; +} + +.content blockquote p:first-child { + margin-top: 0; } /* 只缩进文章正文直属段落,列表页导语、引文与边注不缩进 */