summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/serve.fnl2
-rw-r--r--static/style.css5
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;
}