diff options
author | noa@gaiwan.org | 2024-07-28 17:02:47 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-07-28 17:02:47 +0000 |
commit | ea28243804b2538e9218e2520cf49603f64c0a12 (patch) | |
tree | 57311deccc64203573f46dec09bc2ee7050e2fde /config.org | |
parent | 8f4d667b561da42453161950a830b29aa8bcb773 (diff) |
Update website css
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.org b/config.org index d3c53a7..0bac4b7 100644 --- a/config.org +++ b/config.org @@ -783,9 +783,10 @@ I generate my website using org mode. I use the built in ox-publish subsystem f :html-indent nil ;; breaks <pre> tag :html-head "<meta name=\"color-scheme\" content=\"light dark\"> <style> - body { font-family: \"Comic Sans MS\"; max-width: 80ch; } + body { font-family: \"Comic Sans MS\"; max-width: 80ch; margin: auto; padding: 1em; } + header { text-align: center; } img { max-width: 100%; } - pre { overflow: scroll; border-right: 1px solid; } + pre { white-space: pre-wrap; border: 1px solid; padding: 1em; } </style>" :auto-sitemap t :sitemap-filename "~/data/website/archive.org" |