Fix WGL Logo and slide number
Change-Id: If0c7c3d1fe43be9e43dd747e2fd026084e9c9348
diff --git a/inst/reveal.js-4.6.1/css/theme/source/ids.scss b/inst/reveal.js-4.6.1/css/theme/source/ids.scss
index a321278..966318a 100644
--- a/inst/reveal.js-4.6.1/css/theme/source/ids.scss
+++ b/inst/reveal.js-4.6.1/css/theme/source/ids.scss
@@ -174,6 +174,36 @@
transition: opacity 800ms ease-in-out;
}
+.reveal .slide-number {
+ position: absolute;
+ display: block;
+ right: 48px;
+ bottom: 32px;
+ z-index: 31;
+ font-family: Fira Sans, sans-serif;
+ font-size: 18px;
+ line-height: 1;
+ background-color: white;
+ color: #666;
+ padding: 5px;
+}
+
+.reveal .title-frame .slide-number {
+ display: none !important;
+}
+
+.title-frame div {
+ text-align:right !important;
+ background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important;
+ background-repeat: no-repeat;
+ background-position: right 90px bottom 10px !important;
+ background-size: 7vH auto !important;
+
+}
+
+.slide-menu-items, .slide-menu-toolbar {
+ font-family: 'Fira Sans' !important;
+}
/*
* Menu controls
diff --git a/inst/reveal.js-4.6.1/dist/theme/ids.css b/inst/reveal.js-4.6.1/dist/theme/ids.css
index 4a20abc..6493e18 100644
--- a/inst/reveal.js-4.6.1/dist/theme/ids.css
+++ b/inst/reveal.js-4.6.1/dist/theme/ids.css
@@ -456,6 +456,36 @@
transition: opacity 800ms ease-in-out;
}
+.reveal .slide-number {
+ position: absolute;
+ display: block;
+ right: 48px;
+ bottom: 32px;
+ z-index: 31;
+ font-family: Fira Sans, sans-serif;
+ font-size: 18px;
+ line-height: 1;
+ background-color: white;
+ color: #666;
+ padding: 5px;
+}
+
+.reveal .title-frame .slide-number {
+ display: none !important;
+}
+
+.title-frame div {
+ text-align: right !important;
+ background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important;
+ background-repeat: no-repeat;
+ background-position: right 90px bottom 10px !important;
+ background-size: 7vH auto !important;
+}
+
+.slide-menu-items, .slide-menu-toolbar {
+ font-family: "Fira Sans" !important;
+}
+
/*
* Menu controls
*/
diff --git a/inst/rmarkdown/templates/revealjs_presentation/resources/default.html b/inst/rmarkdown/templates/revealjs_presentation/resources/default.html
index 6f99b03..5a5ee19 100644
--- a/inst/rmarkdown/templates/revealjs_presentation/resources/default.html
+++ b/inst/rmarkdown/templates/revealjs_presentation/resources/default.html
@@ -138,7 +138,7 @@
<div class="slides">
$if(title)$
-<section id="$idprefix$title-slide">
+<section class="title-frame" id="$idprefix$title-slide">
<h1 class="title">$title$</h1>
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>