From 7736b744e490f772fe81db5b2952e04e8a7ce88d Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 10 May 2016 12:38:27 +0200 Subject: improve html page rendering --- fixup.css | 13 +++++++++++++ makehtml.sh | 1 + 2 files changed, 14 insertions(+) create mode 100644 fixup.css diff --git a/fixup.css b/fixup.css new file mode 100644 index 0000000..23294ff --- /dev/null +++ b/fixup.css @@ -0,0 +1,13 @@ + +body { + /* no extra long lines please */ + max-width: 50em; + + /* center text */ + margin: 0px auto; + + /* beautify a bit */ + padding: 2ex 2em; + border: 2pt #ccc solid; +} + diff --git a/makehtml.sh b/makehtml.sh index e18c350..360ced8 100755 --- a/makehtml.sh +++ b/makehtml.sh @@ -46,5 +46,6 @@ rm $SPECDOC.tmp* #uncomment if you have a broken t4ht #cp ./t4ht-workaround/virtio-v1.0-csd01.css $SPECDOC.css +cat fixup.css >> $SPECDOC.css zip $SPECDOC.zip $SPECDOC.html $SPECDOC.css images/*.png -- cgit v1.2.3