blob: 7daee425ac5fc008cc8dad3e07bbe0c6d6ea8220 [file] [log] [blame]
Marc Kupietza737b1b2023-10-07 09:32:20 +02001/**
2 * IDS theme for reveal.js
3 *
4 * By Marc Kupietz
5 */
6
7
8// Default mixins and settings -----------------
9@import "../template/mixins";
10@import "../template/settings";
11// ---------------------------------------------
12
13
14// Include theme-specific fonts
Marc Kupietza0f8f682026-08-08 14:13:11 +020015// NB: https://korap.ids-mannheim.de/font/{fira-condensed,libertinus}.css both
16// return 404, so the condensed and bold faces never loaded and headings fell
17// back to a regular-width, regular-weight face. Google Fonts serves the real
18// Fira Sans Condensed incl. weights 700/800 (this is where the IDS reference
19// decks get it from too); the others are kept for locally installed copies.
20@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@300;400;700;800&family=Fira+Sans:wght@200;300;400;700&family=Fira+Sans+Extra+Condensed:wght@300;700&display=swap');
Marc Kupietza737b1b2023-10-07 09:32:20 +020021@import url('https://code.cdn.mozilla.net/fonts/fira.css');
Marc Kupietzc22be152026-08-18 15:54:55 +020022// Fira Code: the monospaced Fira Sans variant for highlighted/code text (as
23// in the IDS reference decks; falls back to Fira Mono from the Mozilla CSS
24// above, then DejaVu Sans Mono)
25@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
Marc Kupietza737b1b2023-10-07 09:32:20 +020026@import url('https://korap.ids-mannheim.de/font/libertinus.css');
27
28$idsOrange: #f6a800;
29
30// Override theme settings (see ../template/settings.scss)
31$backgroundColor: #fff;
32
33$mainColor: #222;
34$headingColor: $idsOrange;
35
36$mainFontSize: 42px;
37$mainFont: 'Libertinus Serif', Helvetica, sans-serif;
Marc Kupietza0f8f682026-08-08 14:13:11 +020038$headingFont: 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Fira Sans', Helvetica, sans-serif;
Marc Kupietza737b1b2023-10-07 09:32:20 +020039$headingTextShadow: none;
40$headingLetterSpacing: 0.05ex;
41$headingTextTransform: uppercase;
Marc Kupietza0f8f682026-08-08 14:13:11 +020042$headingFontWeight: 700;
Marc Kupietza737b1b2023-10-07 09:32:20 +020043$linkColor: #2a76dd;
44$linkColorHover: lighten( $linkColor, 15% );
45$selectionBackgroundColor: lighten( $linkColor, 25% );
46
47$heading1Size: 2em;
48$heading2Size: 1.35em;
Marc Kupietz3fdee732023-10-07 18:52:20 +020049$heading3Size: 0.9em;
50$heading4Size: 0.7em;
Marc Kupietza737b1b2023-10-07 09:32:20 +020051
52$listBulletColor: $idsOrange;
53
Marc Kupietzc22be152026-08-18 15:54:55 +020054// --r-code-font (template emits #{$codeFont} as-is)
55$codeFont: "Fira Code", "Fira Mono", "DejaVu Sans Mono", "Source Code Pro", monospace;
56
Marc Kupietza737b1b2023-10-07 09:32:20 +020057// Change text colors against dark slide backgrounds
58@include dark-bg-text-color(#fff);
59
60
61// Theme template ------------------------------
62@import "../template/theme";
63// ---------------------------------------------
64
Marc Kupietza0f8f682026-08-08 14:13:11 +020065// Bar/logo sizes, expressed as fractions of the slide's own height (reveal.js
66// exposes the configured slide size as --slide-width / --slide-height custom
67// properties). Sizing relative to the slide rather than the raw viewport (vh
68// units) keeps things pinned to the true slide edges instead of drifting
69// into the letter-/pillarboxed margins when the window's aspect ratio
70// doesn't exactly match the configured one.
71$idsBarWidthRatio: 0.05;
72$idsLogoWidthRatio: 0.25;
Marc Kupietz59e95a62026-08-29 10:19:05 +030073// Partner (second institution) logo: shown next to the IDS logo on every
74// slide when the document sets the `partner_logo` yaml entry (the template
75// then publishes the URL as the --partner-logo custom property).
76$idsPartnerGap: 16px;
77$idsPartnerHeightRatio: 0.085;
Marc Kupietza0f8f682026-08-08 14:13:11 +020078$idsBarWidth: calc(var(--slide-height) * #{$idsBarWidthRatio});
79$idsHeadingGap: 24px;
80
81// Vertical gap between the title and the subtitle. The subtitle's bar segment
82// reaches up by this much to bridge it, so the two segments read as one bar.
83$idsHeadingSpacing: 8px;
84
85// Rendered height of one subtitle line. Slides without a subtitle reserve
86// exactly this much, so the bar and the start of the body content stay put
87// from slide to slide instead of jumping. Must stay in sync with
88// $heading3Size (0.9em) and $headingLineHeight (1.2, from template/settings).
89$idsSubtitleHeight: 0.9 * $mainFontSize * 1.2;
90
91// The two bar segments abut at a fractional pixel, which browsers round into a
92// visible hairline. Overlapping them slightly makes the join seamless.
93$idsBarOverlap: 2px;
94
95// reveal.js centres the scaled slide in the viewport, so whenever the window's
96// aspect ratio does not match the deck's, an empty band is left beside (or
97// above) the slide and the bar would not reach the window's physical edge.
98// Working out how wide that band is needs viewport / scale, and CSS cannot
99// divide a length by a length -- which is why the hand-written IDS decks solve
100// this in JavaScript. revealjs_presentation()'s template therefore publishes
101// the band widths, in slide coordinates, as --ids-band-left / --ids-band-top,
102// and the bar simply shifts out by that much. Falling back to 0px keeps this
103// correct whenever the aspect ratios do match, and if the script never runs.
104$idsBandLeft: var(--ids-band-left, 0px);
105
106// revealjs_presentation() sets reveal.js' own `margin` option to 0, so that the
107// slide box is the whole viewport and the orange bar can sit flush in its top
108// left corner. That would otherwise leave the body content running edge to
109// edge, so the breathing room reveal.js' margin used to provide is added back
110// here as slide padding; the bar and the headings reach back out to the edge
111// with matching negative margins below. The inset is the bar plus its gap, so
112// body content lines up with the heading text rather than with the bar.
113$idsContentInset: calc(#{$idsBarWidth} + #{$idsHeadingGap});
114
Marc Kupietz61c8ec72026-08-20 20:47:45 +0200115// The html prefix is solely about specificity: reveal's print styles
116// (html.reveal-print .reveal .slides section { padding: 0 !important }) would
117// otherwise beat this rule and flatten the inset on ?print-pdf pages. An html
118// prefix ties that specificity, and since the theme is loaded after
119// reveal.css, this rule wins both on screen and in print.
120html .reveal .slides section:not(.stack) {
Marc Kupietza0f8f682026-08-08 14:13:11 +0200121 box-sizing: border-box !important;
122 padding-left: #{$idsContentInset} !important;
123 padding-right: #{$idsContentInset} !important;
124}
125
126// Body content is left aligned with the headings; the title frame keeps its
127// own centered layout.
128.reveal .slides section:not(.stack):not(.title-frame) {
129 text-align: left !important;
130}
131
132// reveal.js centers lists by making them inline-block; make them ordinary
Marc Kupietze0826862026-08-11 16:34:54 +0200133// blocks so they line up with the headings.
134//
135// The markers are NOT native ::marker glyphs: browsers anchor outside-position
136// markers at slightly different offsets per engine (and per scale), and even
137// ::before font glyphs carry font-specific side bearings, so a padding(text)-
138// based alignment of the bullet column with the heading text can never be
139// pixel-exact everywhere. Instead we DRAW the markers as CSS boxes in
140// absolutely positioned li::before rules. Geometry (all values in the item's
141// own font size, so the hierarchy scales with the 0.8em per-level sizing from
142// the NESTED LISTS section below):
143//
144// - item text starts at (list left edge) + 0.65em
145// - the marker box starts exactly at the list's left edge; on content
146// slides that edge coincides with the heading text's left edge, i.e. the
147// bullet column is flush with the slide title, deterministically in every
148// browser and at every window size
149//
150// For nested lists the ::before offset has to be divided by the 0.8 font-size
151// factor, because the list's padding is computed in the PARENT item's font
152// size while the ::before offset is computed in the (smaller) child size.
153$idsListIndent: 0.65em;
154$idsListShrink: 0.8;
155$idsMarkerSize: 0.22em;
156$idsMarkerTop: calc((1.3em - #{$idsMarkerSize}) / 2);
157
Marc Kupietza0f8f682026-08-08 14:13:11 +0200158.reveal .slides section:not(.title-frame) ul,
159.reveal .slides section:not(.title-frame) ol {
160 display: block !important;
161 text-align: left !important;
162 margin-left: 0 !important;
Marc Kupietze0826862026-08-11 16:34:54 +0200163 padding-left: $idsListIndent !important;
164 list-style: none !important;
165}
166
167.reveal .slides section:not(.title-frame) li {
168 position: relative !important;
169}
170
171.reveal .slides section:not(.title-frame) li::before {
172 position: absolute !important;
173 left: calc(-1 * #{$idsListIndent}) !important;
174 color: var(--r-list-bullet-color) !important;
175}
176
177.reveal .slides section:not(.title-frame) li li::before {
178 left: calc(-1 * #{$idsListIndent} / #{$idsListShrink}) !important;
179}
180
181// Unordered-list markers: drawn boxes (round dot, square, ring for deeper
182// levels), vertically centered on the item's first line.
183.reveal .slides section:not(.title-frame) ul > li::before {
184 content: "" !important;
185 top: $idsMarkerTop !important;
186 width: $idsMarkerSize !important;
187 height: $idsMarkerSize !important;
188 box-sizing: border-box !important;
189 border-radius: 50% !important;
190 background: var(--r-list-bullet-color) !important;
191}
192
193.reveal .slides section:not(.title-frame) ul ul > li::before {
194 border-radius: 0 !important; // square
195}
196
197.reveal .slides section:not(.title-frame) ul ul ul > li::before {
198 background: transparent !important; // ring
199 border: 0.055em solid var(--r-list-bullet-color) !important;
200 border-radius: 50% !important;
201}
202
203// Ordered lists: the CSS list-item counter honours the HTML start/value
204// attributes, so pandoc's `start`/`value` lists keep their numbers. Numbers
205// are right-aligned into the indent, ending just before the item text.
206.reveal .slides section:not(.title-frame) ol > li::before {
207 content: counter(list-item, decimal) "." !important;
208 width: calc(#{$idsListIndent} - 0.12em) !important;
209 text-align: right !important;
210}
211
212// Checkbox (pandoc task) lists keep their checkboxes, no markers on top.
213.reveal .slides section:not(.title-frame) ul.task-list li::before {
214 content: none !important;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200215}
216
217// reveal.js centres code blocks (width: 90%; margin: auto); make them fill the
218// slide's text column so they start on the same left edge as the headings.
219.reveal .slides section:not(.title-frame) pre {
220 width: auto !important;
221 margin-left: 0 !important;
222 margin-right: 0 !important;
223}
224
225// The IDS logo stays a slide-wide watermark (top right of every slide,
Marc Kupietz28822cd2026-08-20 14:10:18 +0200226// including the title page). The SVG carries no internal padding of its own,
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300227// so it needs an explicit inset from the slide's edges. That inset is shared
228// by everything that sits in a corner of the slide -- IDS (+ partner) logo
229// top right, website QR top left, funder logo bottom left, WGL membership
230// logo bottom right -- and is used for both edges of each corner, so all
231// four keep exactly the same distance to the slide's borders.
232$idsLogoInset: 8px;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200233
234.reveal .slides {
Marc Kupietz59e95a62026-08-29 10:19:05 +0300235 // Second layer: the optional partner institution logo (--partner-logo is
236 // supplied by the template from the document's `partner_logo` yaml entry);
237 // paints as "none" without it, leaving a harmless empty layer.
238 background-image: url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg'),
239 var(--partner-logo, none);
Marc Kupietza0f8f682026-08-08 14:13:11 +0200240 background-repeat: no-repeat;
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300241 background-position: top #{$idsLogoInset} right #{$idsLogoInset},
242 top #{$idsLogoInset} right calc(#{$idsLogoInset} + var(--slide-height) * #{$idsLogoWidthRatio} + #{$idsPartnerGap});
Marc Kupietz59e95a62026-08-29 10:19:05 +0300243 background-size: calc(var(--slide-height) * #{$idsLogoWidthRatio}) auto,
244 auto calc(var(--slide-height) * #{$idsPartnerHeightRatio});
Marc Kupietza0f8f682026-08-08 14:13:11 +0200245}
246
247// The orange bar is drawn as a ::before on the headings rather than on the
248// slide, in two segments: one behind the title and one behind the subtitle.
249// Because each segment is sized as a percentage of its own heading's box, the
250// bar always ends exactly at the bottom of the last heading -- it follows a
251// subtitle when there is one, stops at the title when there isn't, and grows
252// by itself when a heading wraps onto a second line. No fixed heights, and no
253// JavaScript. Headings carry no vertical padding, so they sit as high on the
254// slide as the bar does. Every rule is !important because this theme has to
255// win against plugin- and document-level CSS loaded after it.
256.reveal .slides section:not(.title-frame) > h1:first-child,
257.reveal .slides section:not(.title-frame) > h2:first-child {
258 position: relative !important;
259 display: block !important;
260 text-align: left !important;
261 margin: 0 calc(-1 * #{$idsContentInset}) #{$idsHeadingSpacing} calc(-1 * #{$idsContentInset}) !important;
262 padding: 0 0 0 #{$idsContentInset} !important;
263 font-weight: var(--r-heading-font-weight) !important;
264}
265
266.reveal .slides section:not(.title-frame) > h1:first-child::before,
267.reveal .slides section:not(.title-frame) > h2:first-child::before,
268.reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
269 content: "" !important;
270 position: absolute !important;
271 width: #{$idsBarWidth} !important;
272 // A flat fill rather than orange_bar.png: that image is two-toned (a lighter
273 // band across its top), so stretching it over each segment separately left a
274 // pale seam where the two met. The IDS reference decks draw a flat #f6a800.
275 background: #{$idsOrange} !important;
276}
277
278// Title segment: pulled out to the window's physical left edge.
279.reveal .slides section:not(.title-frame) > h1:first-child::before,
280.reveal .slides section:not(.title-frame) > h2:first-child::before {
281 top: 0 !important;
282 left: calc(-1 * #{$idsBandLeft}) !important;
283 height: 100% !important;
284}
285
286// A slide without a subtitle reserves the room one would have taken, so the
287// bar keeps the same height and the body content starts at the same place on
288// every slide. :has() is what lets us ask "is a subtitle coming?" in CSS; where
289// it is unsupported such slides simply keep a title-height bar.
Marc Kupietz6acbd662026-08-20 14:41:00 +0200290//
291// The lone title is vertically CENTRED in its reserved bar: half of the
292// reservation goes above the text as top padding (the bar segment, anchored
293// to the heading box, moves up with it), and the bottom half stays in the bar
294// extension plus margin. The space consumed below the bar is reduced by the
295// same half, so body content starts where it always did.
Marc Kupietza0f8f682026-08-08 14:13:11 +0200296.reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3)),
297.reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3)) {
Marc Kupietz6acbd662026-08-20 14:41:00 +0200298 padding-top: calc((#{$idsHeadingSpacing} + #{$idsSubtitleHeight}) / 2) !important;
299 margin-bottom: calc((#{$idsHeadingSpacing} + #{$idsSubtitleHeight}) / 2 + #{$blockMargin}) !important;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200300}
301
302.reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3))::before,
303.reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3))::before {
Marc Kupietz6acbd662026-08-20 14:41:00 +0200304 height: calc(100% + (#{$idsHeadingSpacing} + #{$idsSubtitleHeight}) / 2) !important;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200305}
306
Marc Kupietzd023f072026-08-20 15:27:37 +0200307// Vertical balance when a subtitle follows: the orange strip between the
308// title's baseline and the subtitle's cap height used to be title descent (16)
309// + segment spacing (8) + subtitle leading (3) ≈ 27px, against only ≈ 11px of
310// orange above the title's cap height. Moving the title 8px DOWN inside its
311// box while REMOVING the 8px segment spacing makes the two margins equal
312// (19px each) AND keeps the bar's total height and the body content's start
313// position pixel-identical: box grows by 8, spacing drops by 8. The subtitle
314// segment still rises (#{$idsHeadingSpacing} + #{$idsBarOverlap}) above its
315// own box, so the bar stays seamless.
316.reveal .slides section:not(.title-frame) > h1:first-child:has(+ h3),
317.reveal .slides section:not(.title-frame) > h2:first-child:has(+ h3) {
318 padding-top: #{$idsHeadingSpacing} !important;
319 margin-bottom: 0 !important;
320}
321
Marc Kupietza0f8f682026-08-08 14:13:11 +0200322// The subtitle sits in the slide's normal text column, so its segment has to
323// reach back out to the slide edge, and up over the gap to the title.
324.reveal .slides section:not(.title-frame) > h2:first-child + h3 {
325 position: relative !important;
326 text-align: left !important;
327 margin-top: 0 !important;
328 margin-left: 0 !important;
329 margin-bottom: $blockMargin !important;
330}
331
332.reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
333 top: calc(-1 * (#{$idsHeadingSpacing} + #{$idsBarOverlap})) !important;
334 left: calc(-1 * (#{$idsContentInset} + #{$idsBandLeft})) !important;
335 height: calc(100% + #{$idsHeadingSpacing} + #{$idsBarOverlap}) !important;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200336}
337
Marc Kupietz55c9cef2026-08-08 16:03:06 +0200338// Section-divider slides: a level 1 heading alone on a slide (pandoc marks
339// these .level1). The IDS reference decks centre that title on the slide while
340// the bar stays in its usual top left corner, so here the bar cannot hang off
341// the heading -- it is painted on the slide itself, at the height it has on
342// every other slide, and the heading gets none of the top-left treatment.
343$idsTitleHeight: 1.35 * $mainFontSize * 1.2;
344$idsBarBlockHeight: $idsTitleHeight + $idsHeadingSpacing + $idsSubtitleHeight;
345
346.reveal .slides section.level1:not(.title-frame) {
347 height: 100% !important;
348 display: flex !important;
349 flex-direction: column !important;
350 justify-content: center !important;
351}
352
353.reveal .slides section.level1:not(.title-frame)::before {
354 content: "" !important;
355 position: absolute !important;
356 top: 0 !important;
357 left: calc(-1 * #{$idsBandLeft}) !important;
358 width: #{$idsBarWidth} !important;
359 height: #{$idsBarBlockHeight} !important;
360 background: #{$idsOrange} !important;
361}
362
363.reveal .slides section.level1:not(.title-frame) > h1:first-child {
364 text-align: center !important;
365 margin: 0 !important;
366 padding: 0 !important;
367}
368
369.reveal .slides section.level1:not(.title-frame) > h1:first-child::before {
370 content: none !important;
371}
372
Marc Kupietza737b1b2023-10-07 09:32:20 +0200373// Define additional color effects based on Dracula spec
374// https://spec.draculatheme.com/
375:root {
376 --r-bold-color: #{$idsOrange};
377 --r-list-bullet-color: #{$listBulletColor};
378}
379
380.reveal {
Marc Kupietz9b795bd2026-08-19 06:58:44 +0200381 // Bold ("highlighted") text gets the orange colour AND the condensed Fira
382 // Sans face, as in the IDS reference decks -- the lighter weight and 90%
383 // size keep it from dominating the serif body text.
Marc Kupietza737b1b2023-10-07 09:32:20 +0200384 strong, b {
Marc Kupietz9b795bd2026-08-19 06:58:44 +0200385 font-family: "Fira Sans Condensed", sans-serif;
386 font-weight: 600;
387 font-size: 90%;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200388 color: var(--r-bold-color);
389 }
390
391 // Dracula colored list bullets and numbers
392 ul, ol {
393 li::marker {
394 color: var(--r-list-bullet-color) !important;
395 }
396 }
397}
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200398
Marc Kupietz281ba9c2026-08-11 15:37:48 +0200399// Nested list items are set progressively smaller, both to emphasise the
400// hierarchy and to keep deeply nested lists from visually competing with the
401// first level. The em size compounds down the nesting levels, so each deeper
402// level is 80% of its parent (level 2: 80%, level 3: 64%, level 4: 51%).
403// Markers and the hanging indentation (padding-left: 0.7em above) scale with
404// the text automatically.
405.reveal li li {
406 font-size: 0.8em;
407}
408
Marc Kupietzf4945eb2026-08-19 17:48:41 +0200409// Description lists: dt in orange Fira Sans Condensed, dd indented.
410.reveal dl {
411 font-size: 0.62em;
412 line-height: 1.25;
413}
414.reveal dt {
415 font-weight: 700;
416 margin-top: 0.35em;
417 font-family: "Fira Sans Condensed", sans-serif;
418 color: $idsOrange;
419}
420.reveal dd {
421 margin: 0 0 0 1.2em;
422 color: #444;
423}
424
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200425
426/*********************************************
427 * FOOTER
428 *********************************************/
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200429 #ids-footer:not(title-slide) {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200430 opacity: 1;
431 background: white;
432 color: #444444;
433 border-top: dotted orange 2px;
434 transition: opacity 800ms ease-in-out;
435 position: fixed;
436 height: 6%;
437 line-height: 6%;
438 z-index: -20;
439 width: 100%;
440 letter-spacing: 0em;
441 text-align: center;
442 display: table;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200443}
444
445#ids-footer span {
446 height: 100%;
447 line-height: 100%;
448 z-index: -20;
Marc Kupietz61ad0262024-05-14 22:07:50 +0200449 font-size: 1.8vh;
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200450 font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", "League Gothic", Impact, sans-serif;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200451 display: inline-block;
452 display: table-cell;
453 vertical-align: middle;
454}
455
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200456/* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200457div.progress[style="display: block;"] ~ #ids-footer {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200458 bottom: calc(3px + 0vh);
459}
460
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200461/* Bottom position for the IDS-Footer footer when TOC-Progress is visible */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200462#ids-footer {
463 bottom: 3px;
464}
465
466#ids-footer a {
467 color: #555555;
468}
469
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200470/* Bottom position for the IDS-Footer footer when progress bar is visible */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200471div.progress[style="display: block;"] ~ footer:last-of-type#ids-footer {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200472 bottom: 3px;
473}
474
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200475/* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200476footer:last-of-type#ids-footer {
477 bottom: 0px;
478}
479
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200480/* Make IDS-Footer invisible if explicitly indicated */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200481.no-ids-footer #ids-footer {
482 opacity: 0;
483 transition: opacity 800ms ease-in-out;
484}
485
486.title-frame #ids-footer {
487 opacity: 0;
488 transition: opacity 800ms ease-in-out;
489}
490
491.no-toc-progress #ids-footer {
492 opacity: 0;
493 transition: opacity 800ms ease-in-out;
494}
495
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200496/* Make IDS-Footer invisible in overview mode */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200497.overview #ids-footer {
498 opacity: 0;
499 transition: opacity 800ms ease-in-out;
500}
501
Marc Kupietz61c8ec72026-08-20 20:47:45 +0200502/* In print, the footer's negative stacking drops it behind the .pdf-page
503 * backgrounds (z-index 1); lift it above them. position: fixed repeats it at
504 * the bottom of every printed page. */
505html.reveal-print #ids-footer {
506 z-index: 100 !important;
507}
508
509// reveal's print CSS gives every .pdf-page z-index:1, which forms a separate
510// stacking context per page. The slide-number-pdf lives INSIDE such a page, so
511// its own z-index only competes within the page: the footer (z-index 100 at
512// root level) always paints over it, and raising the number's z-index alone
513// cannot help. Remove the per-page stacking context in print (the pages are
514// separated by page-break-after:always anyway, so nothing needs stacking), and
515// the number's z-index 200 wins against the footer globally. Position stays
516// the theme's screen rule (right:29px / bottom:22px), which puts the number
517// inside the footer band with its white background cutting the dotted line --
518// the same look as on screen.
519html.reveal-print .reveal .slides .pdf-page {
520 z-index: auto !important;
521}
522
523// On screen the number is flanked by the arrow buttons, so its slightly raised
524// baseline reads as deliberate; in print it shares the footer band with the
525// author/title/date line, whose vertically centered text has its baseline
526// ~19px above the page bottom. The number's screen offset (bottom:22px, 14px
527// font from reveal's print rule) puts its baseline ~25px up. 15px aligns the
528// two baselines. Print-only: the screen rule keeps its 22px.
529html.reveal-print div.slide-number-pdf {
530 z-index: 200 !important;
531 bottom: 15px !important;
532}
533
534// On screen the bar segments shift left by --ids-band-left so the bar reaches
535// the window's physical edge when the slide is pillarboxed. In print there are
536// no bands (.pdf-page == slide box), and if the band values are ever stale
537// (e.g. an outdated template script), a nonzero band-left would push the
538// segments outside the pdf-page, whose overflow:hidden then clips them.
539// Pin the geometry explicitly for print instead of trusting the custom
540// property: title segments start at the heading's (== pdf-page's) left edge,
541// the subtitle segment (which lives in the text column, inset by
542// $idsContentInset) reaches back out by exactly the inset, and the level1
543// divider bar starts at the section's left edge. Widths stay the normal bar
544// width, so the visible result is pixel-identical to the on-screen bar.
545html.reveal-print .reveal .slides section:not(.title-frame) > h1:first-child::before,
546html.reveal-print .reveal .slides section:not(.title-frame) > h2:first-child::before {
547 left: 0 !important;
548}
549
550html.reveal-print .reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
551 left: calc(-1 * #{$idsContentInset}) !important;
552}
553
554html.reveal-print .reveal .slides section.level1:not(.title-frame)::before {
555 left: 0 !important;
556}
557
558// The WGL membership logo sits at bottom:10px of the title frame -- inside
559// the footer's ~46px band on print pages (the footer is force-shown on every
560// page in print view and cannot be hidden per page, position:fixed). Lift the
561// logo above the footer in print only; the screen layout stays put.
562html.reveal-print .reveal .slides section.title-frame {
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300563 background-position: right #{$idsLogoInset} bottom 55px;
Marc Kupietz61c8ec72026-08-20 20:47:45 +0200564}
565
Marc Kupietza0f8f682026-08-08 14:13:11 +0200566// Like the orange bar/IDS logo above, this is painted on the slide itself
567// (rather than on .slide-background-content, which spans the raw,
568// unscaled viewport) so it stays pinned to the title slide's true
Marc Kupietz67715592026-08-15 14:55:18 +0200569// bottom-right corner instead of the browser window's. Its margin mirrors
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300570// the IDS logo's, so the two sit on one shared inset.
Marc Kupietza0f8f682026-08-08 14:13:11 +0200571.reveal .slides section.title-frame {
572 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg");
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200573 background-repeat: no-repeat;
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300574 background-position: right #{$idsLogoInset} bottom #{$idsLogoInset};
Marc Kupietz67715592026-08-15 14:55:18 +0200575 background-size: calc(var(--slide-height) * 0.1) auto;
576 /* full slide height, so "bottom" really is the slide's bottom edge */
577 height: 100%;
Marc Kupietze9ace292024-05-14 22:11:15 +0200578}
579
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300580// qrlink() codes placed anywhere else in a deck: qr_svg_fit() crops the svg
581// to the dark modules, so the quiet zone the code needs to stay scannable is
582// this padding (which also keeps a code readable on a dark background).
583.reveal a.qrcode {
584 display: inline-block;
585 padding: 0.5em;
586 background: #fff;
587}
588
Marc Kupietz59e95a62026-08-29 10:19:05 +0300589// Website QR code and funder logo on the title slide (document options
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300590// `website` and `funder_logo`): top-left and bottom-left corners. Like the
591// two logos on the right, they keep $idsLogoInset to both slide edges --
592// measured to the visible ink, so that all four corners look alike. Both are
593// DOM elements injected into the title frame by the pandoc template (the QR
594// itself is generated in R by qrlink()); absolute positioning sticks to the
595// slide, because reveal.js positions the sections themselves.
596//
597// qrlink() crops the svg to the dark modules, so the quiet zone the code
598// needs to stay scannable is this white plate's padding -- which is also
599// what puts the modules themselves at $idsLogoInset from the slide's edges,
600// the plate sitting flush in the corner (invisible on the white slide).
Marc Kupietz59e95a62026-08-29 10:19:05 +0300601.reveal .slides section.title-frame .title-qr {
602 position: absolute;
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300603 top: 0;
604 left: 0;
Marc Kupietz59e95a62026-08-29 10:19:05 +0300605 box-sizing: border-box;
606 width: calc(var(--slide-height) * 0.28);
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300607 padding: #{$idsLogoInset};
Marc Kupietz59e95a62026-08-29 10:19:05 +0300608 background: #fff;
609}
610
611.reveal .slides section.title-frame .title-qr a.qrcode,
612.reveal .slides section.title-frame .title-qr svg {
613 display: block;
614 width: 100%;
615 height: auto;
616 margin: 0;
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300617 // the quiet zone comes from the plate around it here
618 padding: 0;
Marc Kupietz59e95a62026-08-29 10:19:05 +0300619}
620
621.reveal .slides section.title-frame img.funder-logo {
622 position: absolute;
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300623 left: #{$idsLogoInset};
624 bottom: #{$idsLogoInset};
Marc Kupietz59e95a62026-08-29 10:19:05 +0300625 height: calc(var(--slide-height) * 0.07);
Marc Kupietzb2cc5232026-08-29 16:21:52 +0300626 // reveal.js gives images a vertical margin, which for an absolutely
627 // positioned one would add itself to the inset above.
628 margin: 0;
Marc Kupietz59e95a62026-08-29 10:19:05 +0300629 width: auto;
630}
631
632// Lift the funder logo above the print footer band, like the WGL logo above
633html.reveal-print .reveal .slides section.title-frame img.funder-logo {
634 bottom: 55px;
635}
636
637// The navigation chrome is hidden on the title slide (the template toggles
638// the ids-title-plain class when the title frame is the current slide). Use
639// opacity/visibility rather than display:none so the transition out of the
640// title slide fades the chrome in instead of popping it up, and so reveal.js'
641// own controls bookkeeping keeps working underneath.
642html.ids-title-plain .reveal .controls,
643html.ids-title-plain .reveal .slide-number,
644html.ids-title-plain .reveal .slide-menu-button {
645 opacity: 0 !important;
646 visibility: hidden !important;
647 pointer-events: none !important;
648}
649
650.reveal .controls,
651.reveal .slide-number,
652.reveal .slide-menu-button {
653 transition: opacity 0.4s;
654}
655
Marc Kupietze9ace292024-05-14 22:11:15 +0200656
Marc Kupietz903104a2026-08-20 10:10:41 +0200657/*********************************************
658 * SLIDES MENU
659 *********************************************/
660
661// The menu plugin copies .reveal's computed font-family onto .slide-menu as an
662// inline style (and its own CSS is loaded after the theme), so without
663// !important here the menu would come out in the Libertinus serif body face.
664// Fira Sans Condensed is the IDS sans for navigation/UI text, and its narrow
665// glyphs keep long (German) slide titles on one line.
666.slide-menu-wrapper .slide-menu {
667 font-family: "Fira Sans Condensed", sans-serif !important;
668}
669
670// Widen the menu a little over the plugin's 300px default -- but only the
671// default: a width the user picked via the menu-width option maps to one of
672// the plugin's width classes (or an inline style), which must keep winning.
673.slide-menu-wrapper .slide-menu:not(.slide-menu--wide):not(.slide-menu--half):not(.slide-menu--third):not(.slide-menu--full):not(.slide-menu--custom) {
Marc Kupietz7427cca2026-08-20 10:53:03 +0200674 width: 372px !important;
Marc Kupietz903104a2026-08-20 10:10:41 +0200675}
676
677// Tighter, less wasteful rows than the plugin's 10px 18px padding with a 12px
678// icon gap: the icon column and generous side padding eat exactly the width
679// the titles need.
680.slide-menu-wrapper .slide-menu-item,
681.slide-menu-wrapper .slide-menu-item-vertical {
682 padding: 6px 12px !important;
683 line-height: 1.3 !important;
684}
685
686.slide-menu-wrapper .slide-menu-item-vertical {
687 padding-left: 26px !important;
688}
689
690// Wrapped titles: make the row a flex line so the second line aligns with the
691// first instead of sliding under the bullet/circle icon. The icon sits on the
692// first line's text baseline; the title column takes the remaining width and
693// wraps within itself.
694.slide-menu-wrapper .slide-menu-item,
695.slide-menu-wrapper .slide-menu-item-vertical {
696 display: flex !important;
697 align-items: baseline !important;
698}
699
700.slide-menu-wrapper .slide-menu-item-title {
701 flex: 1 !important;
702 min-width: 0 !important;
703}
704
705.slide-menu-wrapper .slide-menu-item i.far,
706.slide-menu-wrapper .slide-menu-item i.fas,
707.slide-menu-wrapper .slide-menu-item-vertical i.far,
708.slide-menu-wrapper .slide-menu-item-vertical i.fas,
709.slide-menu-wrapper .slide-menu-item svg.svg-inline--fa,
710.slide-menu-wrapper .slide-menu-item-vertical svg.svg-inline--fa {
711 padding-right: 8px !important;
712}
713
Marc Kupietz7427cca2026-08-20 10:53:03 +0200714// Top-level (section) entries in bold, marking the hierarchy as the indented
715// sub-slides alone do now. Note the Google Fonts import only ships Fira Sans
716// Condensed in 300/400/700/800 -- there is no 600.
717.slide-menu-wrapper .slide-menu-item {
718 font-weight: 700 !important;
719}
720
Marc Kupietz903104a2026-08-20 10:10:41 +0200721// Current slide in the IDS accent colour, matching the slide-number and the
722// orange bar.
723.slide-menu-wrapper .active-menu-panel li.active {
724 color: #{$idsOrange} !important;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200725}
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200726
727/*
728 * Menu controls
729 */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200730body .reveal .slide-menu-button {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200731 color: #aaaaaa !important;
732 position: fixed;
733 left: 30px;
734 bottom: 2%;
735 vertical-align: middle;
736 z-index: 30;
737 font-size: 2vh;
738}
739
740#customcontrols > ul {
741 color: #aaaaaa !important;
742 position: fixed;
Marc Kupietzf51e9152023-10-07 15:32:33 +0200743 left: 50px;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200744 bottom: 2% !important;
745 vertical-align: middle;
746 z-index: 30;
747 font-size: 2vh;
748}
749
750@media only screen and (min-width: 500px) {
751 #customcontrols > ul {
752 bottom: 2% !important;
753 }
754}
Marc Kupietz3fdee732023-10-07 18:52:20 +0200755
Marc Kupietzc7249f92023-10-10 07:16:50 +0200756.reveal .controls .controls-arrow {
757 position: relative;
758 width: 3.6em;
759 height: 3.6em;
760 bottom: -12px;
761 right: -4px;
762}
763
Marc Kupietz3fdee732023-10-07 18:52:20 +0200764.reveal h3, h4, h5, h6 {
765 text-transform: none !important;
766}
767
768.reveal h3, h4, h5, h6 {
769 text-transform: none !important;
770}
771
772.reveal h2 + h3 {
773 margin-top: -0.5em !important;
774}
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200775
776.title-frame h1,
777.title-frame h2 {
778 margin: 0 0 0 0;
779 background: rgb(246, 168, 0);
780 color: white;
781 font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
782 font-weight: 600;
783 line-height: 1.2;
784 letter-spacing: 0.05ex;
785 text-transform: uppercase;
786 width: 100%;
787 margin-top: .5em;
788 padding-top: .5em;
789 font-size: 1.75em;
790 margin-left: 0;
791 text-align: center;
792 text-shadow: none;
793 word-wrap: break-word;
794}
795
796
797.title-frame .author {
798 font-family: "Fira Sans Condensed", sans-serif;
799 font-weight: 400;
800 color: #657b83;
801 margin-top: 10vh;
802}
803
804.title-frame .place {
805 font-family: "Fira Sans Condensed", sans-serif;
806 margin-top: 40px;
807 font-weight: 400;
808 color: #657b83;
809}
810
811.title-frame h2 {
812 margin-top: -3px;
813 margin-bottom: 1em;
814 padding-bottom: .5em;
815 font-size: 1em;
816}
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200817
818/*********************************************
819 * TABLES
820 *********************************************/
821
822 th {
823 color: rgb(246, 168, 0);
824}
825
826table {
827 font-family: 'Fira Sans Condensed', sans-serif;
828 font-weight: 400;
829 font-size: 16px;
Marc Kupietz25570ef2026-08-28 14:03:21 +0300830 // Fira Sans Condensed ships proportional figures by default, so the digits
831 // in neighbouring rows do not line up; tabular numbers (tnum) fix the digit
832 // widths and align numeric table columns vertically.
833 font-variant-numeric: tabular-nums;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200834}
835
836.reveal table.dataTable {
837 border: #aaaaaa 1px solid;
838 border-collapse: collapse;
839}
840
841.reveal table.dataTable td {
842 border: #aaaaaa 1px solid;
843 border-collapse: collapse;
844}
845
846.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate, table.dataTable thead > tr > th.sorting::before, table.dataTable thead > tr > th.sorting::after, table.dataTable thead > tr > th.sorting_asc::before, table.dataTable thead > tr > th.sorting_asc::after, table.dataTable thead > tr > th.sorting_desc::before, table.dataTable thead > tr > th.sorting_desc::after, table.dataTable thead > tr > th.sorting_asc_disabled::before, table.dataTable thead > tr > th.sorting_asc_disabled::after, table.dataTable thead > tr > th.sorting_desc_disabled::before, table.dataTable thead > tr > th.sorting_desc_disabled::after, table.dataTable thead > tr > td.sorting::before, table.dataTable thead > tr > td.sorting::after, table.dataTable thead > tr > td.sorting_asc::before, table.dataTable thead > tr > td.sorting_asc::after, table.dataTable thead > tr > td.sorting_desc::before, table.dataTable thead > tr > td.sorting_desc::after, table.dataTable thead > tr > td.sorting_asc_disabled::before, table.dataTable thead > tr > td.sorting_asc_disabled::after, table.dataTable thead > tr > td.sorting_desc_disabled::before, table.dataTable thead > tr > td.sorting_desc_disabled::after {
847 display: none;
848}
849
850.caption {
851 font-family: 'Fira Sans Condensed', sans-serif;
852 font-weight: 400;
853 font-size: 16px;
854 text-align: center;
855}
856
857/*
858table.display td { white-space: nowrap; }
859*/
860
861.dt-buttons, .dataTables_filter {
862 margin-top: 10pt;
863}
864
Marc Kupietz069f1e42023-10-11 10:26:16 +0200865/* Sort Arrows in DataTables */
866table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after, table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_asc:after, table.dataTable thead>tr>th.sorting_desc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>th.sorting_asc_disabled:before, table.dataTable thead>tr>th.sorting_asc_disabled:after, table.dataTable thead>tr>th.sorting_desc_disabled:before, table.dataTable thead>tr>th.sorting_desc_disabled:after, table.dataTable thead>tr>td.sorting:before, table.dataTable thead>tr>td.sorting:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_asc:after, table.dataTable thead>tr>td.sorting_desc:before, table.dataTable thead>tr>td.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc_disabled:before, table.dataTable thead>tr>td.sorting_asc_disabled:after, table.dataTable thead>tr>td.sorting_desc_disabled:before, table.dataTable thead>tr>td.sorting_desc_disabled:after {
867 right: 0 !important;
868 line-height: 80% !important;
869}
870
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200871/*********************************************
872 * BIBLIOGRAPHY
873 *********************************************/
874
875.reveal .references {
876 font-family: "Fira Sans Condensed", sans-serif;
877 font-size: 16px;
878 text-align: left;
Marc Kupietzbfab8a12026-08-19 14:42:42 +0200879 margin-top: 10px;
880 max-height: 510px;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200881 font-weight: 400;
882 color: #253b43;
883 overflow-y: auto;
884}
885
886.hanging-indent > .csl-entry {
887 padding-left: 22px ;
888 text-indent: -22px ;
889}
890
Marc Kupietz21f526c2026-08-14 12:32:56 +0200891// .references scopes these above pandoc's CSL defaults (div.csl-entry), which
892// otherwise win on specificity and pin margin-bottom to 0em.
893.references .csl-entry {
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200894 color: #888888;
Marc Kupietz21f526c2026-08-14 12:32:56 +0200895 margin-bottom: 0.5em;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200896}
897
Marc Kupietz21f526c2026-08-14 12:32:56 +0200898// "Authors (Year):" as a bold dark first line; the theme template's JS wraps
899// the leading text of each entry in .csl-authors-year (see default.html) --
900// which part of an entry citeproc wraps in spans depends on the entry type, so
901// a CSS-only break cannot place it reliably.
902.csl-entry .csl-authors-year {
903 display: block;
904 font-weight: bold;
905 color: #4d616b;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200906}
Marc Kupietz11797162023-10-09 23:17:36 +0200907
908.reveal code.sourceCode:last-child + pre {
909 height: 800px !important;
Marc Kupietzc7249f92023-10-10 07:16:50 +0200910}
911
Marc Kupietz589d1b82023-10-10 12:31:33 +0200912
913/*********************************************
Marc Kupietz54d9ce02026-08-21 11:38:45 +0200914 * FULLSCREEN TOGGLE
Marc Kupietz589d1b82023-10-10 12:31:33 +0200915 *********************************************/
916
Marc Kupietz54d9ce02026-08-21 11:38:45 +0200917// Small fixed toggle for touch devices (script injected by default.html):
918// phones have no F11 and the browser chrome eats slide pixels. Hidden on
919// pointer devices (F11 exists there) and whenever the Fullscreen API is
920// unavailable -- the script also removes it then. Same muted look and column
921// as the slide menu button, one slot above it.
922#ids-fullscreen {
923 display: none;
924 position: fixed;
925 left: 30px;
926 bottom: 6%;
927 z-index: 30;
928 width: 28px;
929 height: 28px;
930 border: 0;
931 padding: 0;
932 cursor: pointer;
933 opacity: 0.55;
934 // Feather-style corner brackets; gray idle, IDS orange while fullscreen
935 // (the two data URIs differ only in the stroke colour).
936 background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M16 3h3a2 2 0 0 1 2 2v3'/%3E%3Cpath d='M8 21H5a2 2 0 0 1-2-2v-3'/%3E%3Cpath d='M16 21h3a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E") center / contain no-repeat;
937
938 &:active,
939 &:focus-visible {
940 opacity: 0.9;
941 }
942
943 &.is-fullscreen {
944 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6a800' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3'/%3E%3Cpath d='M16 3h3a2 2 0 0 1 2 2v3'/%3E%3Cpath d='M8 21H5a2 2 0 0 1-2-2v-3'/%3E%3Cpath d='M16 21h3a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E");
945 }
946}
947
948// Only touch devices get the button; desktops keep their F11.
949@media (hover: none) and (pointer: coarse) {
950 #ids-fullscreen {
951 display: block;
952 }
953}
954
955// position:fixed elements repeat on every printed page -- never print it.
956html.reveal-print #ids-fullscreen {
957 display: none !important;
958}
959
960
961
Marc Kupietz589d1b82023-10-10 12:31:33 +0200962 .reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
963 width: 13px !important; /* size */
964 height: 4px; /* line width */
965}
966
967.reveal .controls {
968 display: none;
969 position: absolute;
970 top: auto;
971 bottom: -8px;
972 right: 16px;
973 left: auto;
974 z-index: 11;
975 /* color: #000;*/
976 pointer-events: none;
977 font-size: 8px;
978}
979
980.reveal .controls .controls-arrow {
981 position: relative;
982 height: 3.6em;
983 width: 1.2em; /* distance betwee arrows */
984 bottom: 0;
985 right: 0;
986}
987
988.reveal div.slide-number {
989 text-align: center;
990 width: 2em;
991 position: absolute;
992 display: block;
993 right: 29px;
994 bottom: 22px;
995 z-index: 31;
996 font-family: "Fira Sans Condensed", sans-serif;
997 font-size: 18px;
998 line-height: 1;
999 background-color: white;
1000 color: #666;
1001 padding: 0;
1002}
1003
Marc Kupietzddd9ba52026-08-29 16:22:29 +03001004
1005/*********************************************
1006 * OVERVIEW / TOC SLIDES
1007 *********************************************/
1008/* Entries stay at the normal slide body size and keep the theme's link
1009 colour, so they read as the navigation links they are. Only the denser
1010 two-column variant with sub-headings is scaled down. */
1011.reveal .ids-overview-toc {
1012 list-style: none;
1013 margin: 0.2em 0 0 0;
1014 padding: 0;
1015 line-height: 1.35;
1016}
1017.reveal .ids-overview-toc > li {
1018 margin: 0.45em 0;
1019 font-weight: bold;
1020}
1021.reveal .ids-overview-toc ul {
1022 list-style: none;
1023 margin: 0.1em 0 0.2em 0;
1024 padding: 0 0 0 1.1em;
1025 font-weight: normal;
1026}
1027.reveal .ids-overview-toc.with-subheadings {
1028 columns: 2;
1029 column-gap: 2.5em;
1030 font-size: 0.8em;
1031}
1032.reveal .ids-overview-toc.with-subheadings > li {
1033 break-inside: avoid;
1034}
1035.reveal .ids-overview-toc ul li {
1036 margin: 0.18em 0;
1037}