summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-05-10 12:38:27 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-29 13:34:48 +0300
commit7736b744e490f772fe81db5b2952e04e8a7ce88d (patch)
treed05e3550ec94872bcf2a7390676d1bdff5dee94d
parent89dd55f5e60676d4441973f4806e954ac32d4526 (diff)
improve html page rendering
-rw-r--r--fixup.css13
-rwxr-xr-xmakehtml.sh1
2 files changed, 14 insertions, 0 deletions
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