]> Cypherpunks.ru repositories - pygost.git/commitdiff
Simpler CSS inclusion
authorSergey Matveev <stargrave@stargrave.org>
Tue, 2 Mar 2021 14:18:32 +0000 (17:18 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 2 Mar 2021 14:18:32 +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 b1198ba4e409ec13828b4211e647b517a30c8e44..b9b042a83d8a7bf0e757381c4c9b8bed179d2616 100644 (file)
--- a/www.do
+++ b/www.do
@@ -2,8 +2,8 @@ redo-ifchange *.texi VERSION
 rm -f pygost.html/*.html
 ${MAKEINFO:-makeinfo} --html \
     -D "VERSION `cat VERSION`" \
+    --css-include style.css \
     --set-customization-variable EXTRA_HEAD='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
-    --set-customization-variable CSS_LINES="`cat style.css`" \
     --set-customization-variable SHOW_TITLE=0 \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable TOP_NODE_UP_URL=index.html \