]> Cypherpunks.ru repositories - cypherpunks-www.git/commitdiff
Более компактный CSS
authorSergey Matveev <stargrave@stargrave.org>
Sat, 8 Oct 2016 09:16:12 +0000 (12:16 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 8 Oct 2016 09:16:12 +0000 (12:16 +0300)
Makefile
style.css

index 79dd5a903f75b0f9d600a2a85e7d59a5540e4bd7..c876cfaf8a533763bdba345d2929197f49259eda 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
+CSS != cat style.css
+
 html:
        makeinfo --html \
-               --css-include=style.css \
+               --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 \
                --set-customization-variable TOP_NODE_UP_URL=index.html \
                -o cypherpunks.html index.texi
index 19806bed6822e719055ffc91189696efb09bdfe7..dc94af994247750d9bd208a37707c59ec75fda20 100644 (file)
--- a/style.css
+++ b/style.css
@@ -1,17 +1,10 @@
+<style type="text/css"><!--
 body {
     margin: auto;
     max-width: 800px;
     background-color: #AEBECE;
 }
-
-h1, h2, h3, h4 {
-    text-align: center;
-}
-
-h1, h2, h3, h4, strong {
-    color: #900090;
-}
-
-pre {
-    background-color: #CCCCCC;
-}
+h1, h2, h3, h4 { text-align: center }
+h1, h2, h3, h4, strong { color: #900090 }
+pre { background-color: #CCCCCC }
+--></style>