]> Cypherpunks.ru repositories - govpn.git/commitdiff
[DOC] More compact CSS
authorSergey Matveev <stargrave@stargrave.org>
Sat, 8 Oct 2016 09:17:31 +0000 (12:17 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 8 Oct 2016 09:17:38 +0000 (12:17 +0300)
doc/Makefile
doc/style.css

index 771850b47ad87b949bc72aef3623f139f1bf2844..f478ade0c7b792d07bbff844d6f0ebf7b54d182c 100644 (file)
@@ -8,11 +8,14 @@ handshake.utxt: handshake.txt
 govpn.info: *.texi handshake.utxt
        $(MAKEINFO) -o govpn.info index.texi
 
+CSS != cat style.css
+
 govpn.html: *.texi handshake.utxt
        rm -f govpn.html/*.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 govpn.html index.texi
index 19806bed6822e719055ffc91189696efb09bdfe7..dc94af994247750d9bd208a37707c59ec75fda20 100644 (file)
@@ -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>