From 4c0d30d4f8b05149b38414b43bf3f4e0036eb0cf Mon Sep 17 00:00:00 2001
From: Arun Isaac
Date: Fri, 18 Jun 2021 14:55:43 +0530
Subject: website: Reference external stylesheet.

* website/style.css: New file.
* Makefile.am (AM_MAKEINFOHTMLFLAGS): Set to --css-ref=/style.css.
* build-aux/build-website.el (org-html-head): Set to <link> tag
referencing external stylesheet.
---
 build-aux/build-website.el | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

(limited to 'build-aux')

diff --git a/build-aux/build-website.el b/build-aux/build-website.el
index f10b89b..3bea2ad 100644
--- a/build-aux/build-website.el
+++ b/build-aux/build-website.el
@@ -22,19 +22,7 @@
 (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 "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />"
       org-html-head-include-default-style nil
       org-html-head-include-scripts nil
       org-html-postamble nil)
-- 
cgit v1.2.3