summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-08 15:35:57 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-08 15:36:33 +0100
commit2719864806a01a879f0a95bdfe63671f29a8f820 (patch)
treeae9737919a30000a6d4368d407d6ab4ba0e161bf
parentb87b23086cef0850f5baa9f1a4519576b26f4ab6 (diff)
downloadsksys-2719864806a01a879f0a95bdfe63671f29a8f820.tar.gz
sksys-2719864806a01a879f0a95bdfe63671f29a8f820.tar.bz2
sksys-2719864806a01a879f0a95bdfe63671f29a8f820.zip
Fix presentation css: Hide help and toolbar and scrollbar
-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\
+}/