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

diff --git a/all.do b/all.do
index c7dacabd5b29bd6a7d7d2f9a3342ebfe5399421e..9c8625bd3aa25b42cc067a5fb018c39a0d69f6f7 100644 (file)
--- a/all.do
+++ b/all.do
@@ -1,9 +1,8 @@
 rm -rf cypherpunks.html
-makeinfo --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 USE_ACCESSKEY=0 \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable TOP_NODE_UP_URL=index.html \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
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>