aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-05-07 02:38:15 +0530
committerArun Isaac2020-05-07 02:38:15 +0530
commit3b662f55237e037184f92335ea0f4502adc91fe8 (patch)
tree42a19838ca29a38751677be8a0ecdf829a3d340e
parenta14ea81b71803ee93de6edff9065b4bebcb2cf2e (diff)
downloadguile-email-3b662f55237e037184f92335ea0f4502adc91fe8.tar.gz
guile-email-3b662f55237e037184f92335ea0f4502adc91fe8.tar.lz
guile-email-3b662f55237e037184f92335ea0f4502adc91fe8.zip
Add minimal CSS styling to website.
* build-website.el (org-html-head): Add minimal CSS.
-rw-r--r--build-website.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/build-website.el b/build-website.el
index eaa710f..9c37ea1 100644
--- a/build-website.el
+++ b/build-website.el
@@ -22,6 +22,19 @@
(setq org-export-with-section-numbers nil
org-export-with-sub-superscripts nil
org-export-with-toc nil
+ org-html-head "<style type=\"text/css\">
+ body {
+ margin: 40px auto;
+ max-width: 650px;
+ line-height: 1.6;
+ font-size: 18px;
+ color: #444;
+ padding: 0 10px;
+ }
+ h1, h2, h3 {
+ line-height: 1.2;
+ }
+</style>"
org-html-head-include-default-style nil
org-html-head-include-scripts nil
org-html-postamble nil)