Add styling that improves readability

- article content with a max-width
- index and post index page now contain articles
- code sections are bordered, indented and padded
- figure captions are centered along with the images
- h2 margin is only removed in non-articles; the post index page
- main with extra space at the bottom to allow scolling past content
This commit is contained in:
2022-12-11 16:21:42 +01:00
parent 703de1a894
commit aeb4d874a8
4 changed files with 41 additions and 14 deletions
+4 -3
View File
@@ -22,6 +22,7 @@
(a :href "/" "Home") "|"
(a :href "/posts" "Posts") "|"
(a :href "/qa" "QA"))
(header
(h1 "Post listing"))
"{{index}}")))
(article
(header
(h1 "Post listing"))
"{{index}}"))))