summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--fix-css.sed6
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d1a72dd..551c9bf 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ all: ${GenSVG} document.html presentation.html
.SUFFIXES: .asciidoc .html
presentation.html: presentation.asciidoc
asciidoc --out-file=$@ --backend=slidy $<
+ sed -i -f fix-css.sed $@
.asciidoc.html:
asciidoc --out-file=$@ --backend=html $<
diff --git a/fix-css.sed b/fix-css.sed
new file mode 100644
index 0000000..62eecec
--- /dev/null
+++ b/fix-css.sed
@@ -0,0 +1,6 @@
+/<style type="text\/css">/s/$/p.help,div.toolbar {\
+ display:none !important;\
+}\
+html {\
+ overflow-y: hidden !important\
+}/