diff --git a/slides/index.html b/slides/index.html index 32f5533515f5f670b4c07fd98ea9b81eef0b693a..19a48b55dcf24d206b55fcd7350178071030b8f1 100644 --- a/slides/index.html +++ b/slides/index.html @@ -232,6 +232,14 @@ pathSize: 2, // (optional) path size in px, default 4 } }); + window.addEventListener("mousedown", handleClick, false); + window.addEventListener("contextmenu", function(e) { e.preventDefault(); }, false); + + function handleClick(e) { + e.preventDefault(); + if(e.button === 0) Reveal.next(); + if(e.button === 2) Reveal.prev(); +} </script> </body> </html> diff --git a/slides/otb.css b/slides/otb.css index 82bfcd0c06a56dac44b39d4e3fdec6abb844c0a2..f2416747d4c616511c6607c0a7f9093cfd87e42b 100644 --- a/slides/otb.css +++ b/slides/otb.css @@ -211,7 +211,7 @@ y { .reveal pre code { display: block; - font-size: 1.15em; + font-size: 1.35em; background: #FFFFFF; padding: 5px; overflow: auto;