From d5cfd5b0cdb9615b626a6a8fa43bb3175ebc78a7 Mon Sep 17 00:00:00 2001 From: verdant Date: Wed, 22 Jul 2026 00:03:11 +0800 Subject: Tweak some CSS style --- layouts/partials/style.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'layouts/partials/style.html') diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 333a047..90724c9 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -5,6 +5,8 @@ --heading-base-size: 0.9rem; --scale-minor-third: 1.2; --typographic-scale: var(--scale-minor-third); + --first-font-size: 1.06rem; + --second-font-size: 1rem; } h1, @@ -44,10 +46,10 @@ h6 { } /* END */ + body { - font: - 1.06rem monospace, - 'Noto Serif CJK'; + font-size: var(--first-font-size); + font-family: monospace; font-weight: 400; line-height: 1.8; max-width: 740px; @@ -56,7 +58,6 @@ body { } pre { - border: 1px dashed #555; padding: 12px; overflow-x: auto; } @@ -93,4 +94,9 @@ h1.title { margin-bottom: 1rem; } +footer { + font-size: var(--second-font-size); + line-height: 1; +} + -- cgit v1.2.3