From a87eaec2454378e68799af2ec0c8af3ead4bd6e1 Mon Sep 17 00:00:00 2001 From: yvling Date: Tue, 14 Jan 2025 13:11:55 +0800 Subject: [PATCH] Update article paragraph spacing --- templates/default/assets/css/post.css | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/templates/default/assets/css/post.css b/templates/default/assets/css/post.css index 3ca9aea..2b8b2b9 100644 --- a/templates/default/assets/css/post.css +++ b/templates/default/assets/css/post.css @@ -46,21 +46,13 @@ tr, th, td { } .post-content h1, -.post-content h2 { - margin-top: 4rem; - margin-bottom: 1rem; -} - +.post-content h2, .post-content h3, -.post-content h4 { - margin-top: 3rem; - margin-bottom: 2rem; -} - +.post-content h4, .post-content h5, .post-content h6 { margin-top: 2rem; - margin-bottom: 2rem; + margin-bottom: 1rem; } .post-content img { @@ -162,4 +154,4 @@ tr, th, td { right: 60px; z-index: 999; cursor: pointer; -} \ No newline at end of file +}