]> Cypherpunks.ru repositories - pygost.git/commitdiff
Website restyling
authorSergey Matveev <stargrave@stargrave.org>
Sun, 9 Dec 2018 10:12:21 +0000 (13:12 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 9 Dec 2018 13:16:36 +0000 (16:16 +0300)
style.css [new file with mode: 0644]
www.mk

diff --git a/style.css b/style.css
new file mode 100644 (file)
index 0000000..e05fd44
--- /dev/null
+++ b/style.css
@@ -0,0 +1,10 @@
+<style type="text/css"><!--
+body {
+    margin: auto;
+    width: 80em;
+    background-color: #AEBECE;
+}
+h1, h2, h3, h4 { text-align: center }
+h1, h2, h3, h4, strong { color: #900090 }
+pre { background-color: #CCCCCC }
+--></style>
diff --git a/www.mk b/www.mk
index 9e1c2bb7fe8adef5036edd38572d567d9ef55f88..e61a9b3cb1b7193f75ea300a5e1e35e6e67483b7 100644 (file)
--- a/www.mk
+++ b/www.mk
@@ -2,10 +2,12 @@ all: pygost.html
 
 MAKEINFO ?= makeinfo
 
+CSS != cat style.css
+
 pygost.html: *.texi
        rm -f pygost.html/*.html
        $(MAKEINFO) --html \
-               --set-customization-variable NO_CSS=1 \
+               --set-customization-variable CSS_LINES='$(CSS)' \
                --set-customization-variable SHOW_TITLE=0 \
                --set-customization-variable USE_ACCESSKEY=0 \
                --set-customization-variable DATE_IN_HEADER=1 \