]> Cypherpunks.ru repositories - gocheese.git/commitdiff
Simpler CSS inclusion
authorSergey Matveev <stargrave@stargrave.org>
Tue, 2 Mar 2021 14:18:18 +0000 (17:18 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 2 Mar 2021 14:18:18 +0000 (17:18 +0300)
style.css
www.do

index 17f3b71cb358b255b2328e68226338fff4186fed..0d2e65ba5cd86080c50fbc98d1190060aae73e14 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,4 +1,3 @@
-<style type="text/css"><!--
 body {
     margin: auto;
     width: 80em;
@@ -8,4 +7,3 @@ h1, h2, h3, h4 { text-align: center }
 h1, h2, h3, h4, strong { color: #900090 }
 pre { background-color: #CCCCCC }
 table, th, td { border: 1px solid black ; border-collapse: collapse }
---></style>
diff --git a/www.do b/www.do
index 778c3d46656b1cb084679fd6c5c2e0049004a7e8..46b7abf55e3ba9f295b209a9872f661bfcbb15f8 100644 (file)
--- a/www.do
+++ b/www.do
@@ -3,7 +3,7 @@ html=gocheese.html
 rm -f $html/*.html
 ${MAKEINFO:=makeinfo} --html \
     -D "VERSION `cat VERSION`" \
-    --set-customization-variable CSS_LINES="`cat style.css`" \
+    --css-include style.css \
     --set-customization-variable SHOW_TITLE=0 \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable TOP_NODE_UP_URL=index.html \