aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-05-24 18:08:35 +0530
committerArun Isaac2021-05-24 18:23:28 +0530
commit24e02ea77b87984e60b06c11875d2f138a85f392 (patch)
tree80aa011d3ab69f8ad9019e834de3acf922283837
parent3d3f90d66f801e9ac0e25e32992604c2be1d2750 (diff)
downloadccwl-24e02ea77b87984e60b06c11875d2f138a85f392.tar.gz
ccwl-24e02ea77b87984e60b06c11875d2f138a85f392.tar.lz
ccwl-24e02ea77b87984e60b06c11875d2f138a85f392.zip
Add CSS to website.
* Makefile.am (website/style.css): New target. (website): Require website/style.css. * style.css: New file.
-rw-r--r--Makefile.am6
-rw-r--r--style.css12
2 files changed, 17 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2fc61c7..38e49bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,12 +66,16 @@ EXTRA_DIST += \
# Build website
-website: website/index.html
+website: website/index.html website/style.css
website/index.html: README.org
mkdir -p $(dir $@)
emacs -Q --script build-aux/build-home-page.el
+website/style.css: style.css
+ mkdir -p $(dir $@)
+ cp -v $< $@
+
# The clean target depends on clean-local. We use clean-local to clean
# up the website built by the website target.
clean-local:
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..70573dd
--- /dev/null
+++ b/style.css
@@ -0,0 +1,12 @@
+body {
+ margin: 40px auto;
+ max-width: 900px;
+ line-height: 1.6;
+ font-size: 18px;
+ color: #444;
+ padding: 0 10px;
+}
+
+h1, h2, h3 {
+ line-height: 1.2;
+}