From: Amin Bandali Date: Sat, 30 Nov 2019 08:29:48 +0000 (-0500) Subject: various tweaks X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/commitdiff_plain/22cb271b429d98b1238b316cc2f317685c03c2c5 various tweaks --- diff --git a/haunt.scm b/haunt.scm index f2a06d0..dbb34c1 100644 --- a/haunt.scm +++ b/haunt.scm @@ -195,6 +195,9 @@ (dd "Library and CLI for converting TeX and LaTeX to PNG " "images")) (h2 (@ (id "notes")) "Notes") + (p "Here are notes about a variety of topics and issues I care " + "about. They’re also available via " ,(aa "Atom" "feed.atom") + " and " ,(aa "RSS" "feed.rss") " feeds.") (table (@ (class "post-list")) (tbody @@ -205,8 +208,8 @@ (site-post-slug site post) ".html")) `(tr (td ,(aa (post-ref post 'title) (post-uri post))) - (td (@ (style "font-size: 0.875em;")) - ,(date->string (post-date post) my-date-format)))) + (td (small + ,(date->string (post-date post) my-date-format))))) (take-up-to 10 (posts/reverse-chronological posts))))))) (define (index-page site posts) diff --git a/static/style.css b/static/style.css index ded0287..c891f0e 100644 --- a/static/style.css +++ b/static/style.css @@ -119,6 +119,9 @@ table td:first-child { table td:last-child { padding-right: 0 } +#notes { + margin-top: 0.9em; +} .post-list { width: 100%; } @@ -172,7 +175,7 @@ ul > li::before { h2 + ul, h2 + dl, h2 + table, h1 + table { margin-top: 1em; } -h2 + .post-list, table + h2, h2 + h3, ul + h3 { +table + h2, h2 + h3, ul + h3 { margin-top: 0.7em; } p + table {