From 99457297817772798aee0aff374931f95294efa0 Mon Sep 17 00:00:00 2001 From: unwox Date: Sat, 2 Nov 2024 14:44:36 +0600 Subject: small style fixes --- bin/serve.fnl | 2 +- static/style.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/serve.fnl b/bin/serve.fnl index 7a24799..1d08dee 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -415,7 +415,7 @@ [:NO-ESCAPE texts.no-results])]) [:div {} paginator] [:footer {} - [:p {:class "text"} [:NO-ESCAPE texts.footer-text]]]]]]]]) + [:small {:class "text"} [:NO-ESCAPE texts.footer-text]]]]]]]]) (fn root-handler [{: path : query}] (local cache-key (.. "page:" path "?" (serialize-query query))) diff --git a/static/style.css b/static/style.css index ed44a8d..a1e9c86 100644 --- a/static/style.css +++ b/static/style.css @@ -7,11 +7,12 @@ body { * { box-sizing: border-box; + line-height: 1.4; } h1, h2, h3, h4, h5, h6 { font-weight: 900; - margin-bottom: 0; + margin-bottom: 1rem; } .container { @@ -167,7 +168,7 @@ h1, h2, h3, h4, h5, h6 { .text { max-width: 50rem; - line-height: 1.4; + display: block; margin: 0; } -- cgit v1.2.3