From 48b656c949000ec88d6e46afbdb8d2d6adf10d70 Mon Sep 17 00:00:00 2001 From: Verdant Date: Sat, 28 Mar 2026 15:47:16 +0800 Subject: style: refactor CSS style --- layouts/shortcodes/recent-posts.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'layouts/shortcodes/recent-posts.html') diff --git a/layouts/shortcodes/recent-posts.html b/layouts/shortcodes/recent-posts.html index ce5fba0..5c209f1 100644 --- a/layouts/shortcodes/recent-posts.html +++ b/layouts/shortcodes/recent-posts.html @@ -8,12 +8,11 @@ padding: 0; } .recent-list li { - margin-bottom: 0.5em; - line-height: 1.4; + margin-bottom: 8px; } .recent-date { font-family: monospace; - margin-right: 1.5em; + margin-right: 10px; white-space: nowrap; } .recent-title { @@ -46,14 +45,20 @@
-

最近更新

{{ if $recent }}
{{ end }} {{ else }} -- cgit v1.2.3