Introduce partner and funder logos
Change-Id: I71e00aaa51c2dffe74335c7c4f170e8d507356d6
diff --git a/inst/reveal.js-5.2.1/dist/theme/ids.css b/inst/reveal.js-5.2.1/dist/theme/ids.css
index 8be1e80..982e0aa 100644
--- a/inst/reveal.js-5.2.1/dist/theme/ids.css
+++ b/inst/reveal.js-5.2.1/dist/theme/ids.css
@@ -430,10 +430,12 @@
}
.reveal .slides {
- background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg");
+ /* Second layer: the optional partner institution logo (--partner-logo is
+ supplied by the template from the document's partner_logo yaml entry) */
+ background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg"), var(--partner-logo, none);
background-repeat: no-repeat;
- background-position: top 6px right 8px;
- background-size: calc(var(--slide-height) * 0.25) auto;
+ background-position: top 6px right 8px, top 6px right calc(8px + var(--slide-height) * 0.25 + 16px);
+ background-size: calc(var(--slide-height) * 0.25) auto, auto calc(var(--slide-height) * 0.085);
}
.reveal .slides section:not(.title-frame) > h1:first-child,
@@ -674,6 +676,55 @@
height: 100%;
}
+.reveal .slides section.title-frame .title-qr {
+ position: absolute;
+ top: 6px;
+ left: 8px;
+ /* The generated QR matrix has no quiet zone of its own (dark modules
+ reach the svg edges); the white plate's padding supplies it. */
+ box-sizing: border-box;
+ width: calc(var(--slide-height) * 0.28);
+ padding: calc(var(--slide-height) * 0.025);
+ background: #fff;
+}
+
+.reveal .slides section.title-frame .title-qr a.qrcode,
+.reveal .slides section.title-frame .title-qr svg {
+ display: block;
+ width: 100%;
+ height: auto;
+ margin: 0;
+}
+
+.reveal .slides section.title-frame img.funder-logo {
+ position: absolute;
+ left: 8px;
+ bottom: 10px;
+ height: calc(var(--slide-height) * 0.07);
+ width: auto;
+}
+
+/* Lift the funder logo above the print footer band, like the WGL logo */
+html.reveal-print .reveal .slides section.title-frame img.funder-logo {
+ bottom: 55px;
+}
+
+/* The navigation chrome is hidden on the title slide (the template toggles
+ the ids-title-plain class when the title frame is the current slide) */
+html.ids-title-plain .reveal .controls,
+html.ids-title-plain .reveal .slide-number,
+html.ids-title-plain .reveal .slide-menu-button {
+ opacity: 0 !important;
+ visibility: hidden !important;
+ pointer-events: none !important;
+}
+
+.reveal .controls,
+.reveal .slide-number,
+.reveal .slide-menu-button {
+ transition: opacity 0.4s;
+}
+
/*********************************************
* SLIDES MENU
*********************************************/