diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/slide.css | 7 | ||||
-rw-r--r-- | public/js/extra.js | 2 | ||||
-rw-r--r-- | public/views/includes/header.ejs | 2 | ||||
-rw-r--r-- | public/views/includes/scripts.ejs | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/public/css/slide.css b/public/css/slide.css index c590c9ec..59912230 100644 --- a/public/css/slide.css +++ b/public/css/slide.css @@ -17,6 +17,12 @@ font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } +.reveal.fade { + opacity: unset; + -webkit-transition: unset; + transition: unset; +} + .vimeo, .youtube { position: relative !important; @@ -316,6 +322,7 @@ html, body { .print-pdf .container.hidescrollbar { right: 0; + overflow-y: hidden; } .print-pdf .footer { diff --git a/public/js/extra.js b/public/js/extra.js index 8ca1dcb5..a4eed879 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -1032,7 +1032,7 @@ var gistPlugin = new Plugin( //TOC var tocPlugin = new Plugin( // regexp to match - /^\[TOC\]$/, + /^\[TOC\]$/i, // this function will be called when something matches function (match, utils) { diff --git a/public/views/includes/header.ejs b/public/views/includes/header.ejs index 89f3a0d1..942a89f9 100644 --- a/public/views/includes/header.ejs +++ b/public/views/includes/header.ejs @@ -1,3 +1,3 @@ <% for (var css in htmlWebpackPlugin.files.css) { %> -<link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet"> +<link href="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet"> <% } %> diff --git a/public/views/includes/scripts.ejs b/public/views/includes/scripts.ejs index 4eec75e8..20d4003a 100644 --- a/public/views/includes/scripts.ejs +++ b/public/views/includes/scripts.ejs @@ -1,3 +1,3 @@ <% for (var chunk in htmlWebpackPlugin.files.chunks) { %> -<script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script> +<script src="<%= webpackConfig.output.baseUrl %><%= htmlWebpackPlugin.files.chunks[chunk].entry %>" defer></script> <% } %> |