diff options
| -rw-r--r-- | haunt.scm | 5 | ||||
| -rw-r--r-- | style.css | 13 | ||||
| -rw-r--r-- | theme.scm | 2 |
3 files changed, 19 insertions, 1 deletions
@@ -1,6 +1,7 @@ (use-modules (haunt builder flat-pages) (haunt builder blog) + (haunt artifact) (haunt reader) (haunt reader commonmark) (haunt site) @@ -12,5 +13,7 @@ '((author . "Henry J. Webster") (email . "hwebs@hwebs.info")) #:readers (list commonmark-reader) - #:builders (list (flat-pages #:template flat-page-template))) + #:builders (list (flat-pages #:template flat-page-template) + (lambda (site posts) + (list (verbatim-artifact "style.css" "style.css"))))) diff --git a/style.css b/style.css new file mode 100644 index 0000000..67cfad7 --- /dev/null +++ b/style.css @@ -0,0 +1,13 @@ +html { + font-size: 100%; +} +body { + margin: 0 auto; + padding: 0; + max-width: 720px; + font-family: system-ui, sans-serif; + font-weight: normal; +} +main { + margin: 0 1rem; +} @@ -15,6 +15,8 @@ (meta (@ (charset "utf-8"))) (meta (@ (name "viewport") (content "width=device-width, initial-scale=1.0"))) + (link (@ (rel "stylesheet") + (href "style.css"))) (title ,(string-append title " — " (site-title site)))) (body (main |
