]> Cypherpunks.ru repositories - gost-www.git/commitdiff
Более простое включение CSS
authorSergey Matveev <stargrave@stargrave.org>
Tue, 2 Mar 2021 14:19:31 +0000 (17:19 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 2 Mar 2021 14:19:31 +0000 (17:19 +0300)
all.do
style.css

diff --git a/all.do b/all.do
index 887088ac40988cd6cdd15302d2a87fa9387174b8..8a9c2d5b7391221670395d83dde3dbfb98169eff 100644 (file)
--- a/all.do
+++ b/all.do
@@ -1,8 +1,8 @@
 html=gost.html
 rm -f $html/*.html
 ${MAKEINFO:-makeinfo} --html \
+    --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 \
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>