blob: 2f65834ac81c731074af8da341e0da2e272f4af3 [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 Kupietza737b1b2023-10-07 09:32:20 +020022@import url('https://korap.ids-mannheim.de/font/libertinus.css');
23
24$idsOrange: #f6a800;
25
26// Override theme settings (see ../template/settings.scss)
27$backgroundColor: #fff;
28
29$mainColor: #222;
30$headingColor: $idsOrange;
31
32$mainFontSize: 42px;
33$mainFont: 'Libertinus Serif', Helvetica, sans-serif;
Marc Kupietza0f8f682026-08-08 14:13:11 +020034$headingFont: 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Fira Sans', Helvetica, sans-serif;
Marc Kupietza737b1b2023-10-07 09:32:20 +020035$headingTextShadow: none;
36$headingLetterSpacing: 0.05ex;
37$headingTextTransform: uppercase;
Marc Kupietza0f8f682026-08-08 14:13:11 +020038$headingFontWeight: 700;
Marc Kupietza737b1b2023-10-07 09:32:20 +020039$linkColor: #2a76dd;
40$linkColorHover: lighten( $linkColor, 15% );
41$selectionBackgroundColor: lighten( $linkColor, 25% );
42
43$heading1Size: 2em;
44$heading2Size: 1.35em;
Marc Kupietz3fdee732023-10-07 18:52:20 +020045$heading3Size: 0.9em;
46$heading4Size: 0.7em;
Marc Kupietza737b1b2023-10-07 09:32:20 +020047
48$listBulletColor: $idsOrange;
49
50// Change text colors against dark slide backgrounds
51@include dark-bg-text-color(#fff);
52
53
54// Theme template ------------------------------
55@import "../template/theme";
56// ---------------------------------------------
57
Marc Kupietza0f8f682026-08-08 14:13:11 +020058// Bar/logo sizes, expressed as fractions of the slide's own height (reveal.js
59// exposes the configured slide size as --slide-width / --slide-height custom
60// properties). Sizing relative to the slide rather than the raw viewport (vh
61// units) keeps things pinned to the true slide edges instead of drifting
62// into the letter-/pillarboxed margins when the window's aspect ratio
63// doesn't exactly match the configured one.
64$idsBarWidthRatio: 0.05;
65$idsLogoWidthRatio: 0.25;
66$idsBarWidth: calc(var(--slide-height) * #{$idsBarWidthRatio});
67$idsHeadingGap: 24px;
68
69// Vertical gap between the title and the subtitle. The subtitle's bar segment
70// reaches up by this much to bridge it, so the two segments read as one bar.
71$idsHeadingSpacing: 8px;
72
73// Rendered height of one subtitle line. Slides without a subtitle reserve
74// exactly this much, so the bar and the start of the body content stay put
75// from slide to slide instead of jumping. Must stay in sync with
76// $heading3Size (0.9em) and $headingLineHeight (1.2, from template/settings).
77$idsSubtitleHeight: 0.9 * $mainFontSize * 1.2;
78
79// The two bar segments abut at a fractional pixel, which browsers round into a
80// visible hairline. Overlapping them slightly makes the join seamless.
81$idsBarOverlap: 2px;
82
83// reveal.js centres the scaled slide in the viewport, so whenever the window's
84// aspect ratio does not match the deck's, an empty band is left beside (or
85// above) the slide and the bar would not reach the window's physical edge.
86// Working out how wide that band is needs viewport / scale, and CSS cannot
87// divide a length by a length -- which is why the hand-written IDS decks solve
88// this in JavaScript. revealjs_presentation()'s template therefore publishes
89// the band widths, in slide coordinates, as --ids-band-left / --ids-band-top,
90// and the bar simply shifts out by that much. Falling back to 0px keeps this
91// correct whenever the aspect ratios do match, and if the script never runs.
92$idsBandLeft: var(--ids-band-left, 0px);
93
94// revealjs_presentation() sets reveal.js' own `margin` option to 0, so that the
95// slide box is the whole viewport and the orange bar can sit flush in its top
96// left corner. That would otherwise leave the body content running edge to
97// edge, so the breathing room reveal.js' margin used to provide is added back
98// here as slide padding; the bar and the headings reach back out to the edge
99// with matching negative margins below. The inset is the bar plus its gap, so
100// body content lines up with the heading text rather than with the bar.
101$idsContentInset: calc(#{$idsBarWidth} + #{$idsHeadingGap});
102
103.reveal .slides section:not(.stack) {
104 box-sizing: border-box !important;
105 padding-left: #{$idsContentInset} !important;
106 padding-right: #{$idsContentInset} !important;
107}
108
109// Body content is left aligned with the headings; the title frame keeps its
110// own centered layout.
111.reveal .slides section:not(.stack):not(.title-frame) {
112 text-align: left !important;
113}
114
115// reveal.js centers lists by making them inline-block; make them ordinary
Marc Kupietze0826862026-08-11 16:34:54 +0200116// blocks so they line up with the headings.
117//
118// The markers are NOT native ::marker glyphs: browsers anchor outside-position
119// markers at slightly different offsets per engine (and per scale), and even
120// ::before font glyphs carry font-specific side bearings, so a padding(text)-
121// based alignment of the bullet column with the heading text can never be
122// pixel-exact everywhere. Instead we DRAW the markers as CSS boxes in
123// absolutely positioned li::before rules. Geometry (all values in the item's
124// own font size, so the hierarchy scales with the 0.8em per-level sizing from
125// the NESTED LISTS section below):
126//
127// - item text starts at (list left edge) + 0.65em
128// - the marker box starts exactly at the list's left edge; on content
129// slides that edge coincides with the heading text's left edge, i.e. the
130// bullet column is flush with the slide title, deterministically in every
131// browser and at every window size
132//
133// For nested lists the ::before offset has to be divided by the 0.8 font-size
134// factor, because the list's padding is computed in the PARENT item's font
135// size while the ::before offset is computed in the (smaller) child size.
136$idsListIndent: 0.65em;
137$idsListShrink: 0.8;
138$idsMarkerSize: 0.22em;
139$idsMarkerTop: calc((1.3em - #{$idsMarkerSize}) / 2);
140
Marc Kupietza0f8f682026-08-08 14:13:11 +0200141.reveal .slides section:not(.title-frame) ul,
142.reveal .slides section:not(.title-frame) ol {
143 display: block !important;
144 text-align: left !important;
145 margin-left: 0 !important;
Marc Kupietze0826862026-08-11 16:34:54 +0200146 padding-left: $idsListIndent !important;
147 list-style: none !important;
148}
149
150.reveal .slides section:not(.title-frame) li {
151 position: relative !important;
152}
153
154.reveal .slides section:not(.title-frame) li::before {
155 position: absolute !important;
156 left: calc(-1 * #{$idsListIndent}) !important;
157 color: var(--r-list-bullet-color) !important;
158}
159
160.reveal .slides section:not(.title-frame) li li::before {
161 left: calc(-1 * #{$idsListIndent} / #{$idsListShrink}) !important;
162}
163
164// Unordered-list markers: drawn boxes (round dot, square, ring for deeper
165// levels), vertically centered on the item's first line.
166.reveal .slides section:not(.title-frame) ul > li::before {
167 content: "" !important;
168 top: $idsMarkerTop !important;
169 width: $idsMarkerSize !important;
170 height: $idsMarkerSize !important;
171 box-sizing: border-box !important;
172 border-radius: 50% !important;
173 background: var(--r-list-bullet-color) !important;
174}
175
176.reveal .slides section:not(.title-frame) ul ul > li::before {
177 border-radius: 0 !important; // square
178}
179
180.reveal .slides section:not(.title-frame) ul ul ul > li::before {
181 background: transparent !important; // ring
182 border: 0.055em solid var(--r-list-bullet-color) !important;
183 border-radius: 50% !important;
184}
185
186// Ordered lists: the CSS list-item counter honours the HTML start/value
187// attributes, so pandoc's `start`/`value` lists keep their numbers. Numbers
188// are right-aligned into the indent, ending just before the item text.
189.reveal .slides section:not(.title-frame) ol > li::before {
190 content: counter(list-item, decimal) "." !important;
191 width: calc(#{$idsListIndent} - 0.12em) !important;
192 text-align: right !important;
193}
194
195// Checkbox (pandoc task) lists keep their checkboxes, no markers on top.
196.reveal .slides section:not(.title-frame) ul.task-list li::before {
197 content: none !important;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200198}
199
200// reveal.js centres code blocks (width: 90%; margin: auto); make them fill the
201// slide's text column so they start on the same left edge as the headings.
202.reveal .slides section:not(.title-frame) pre {
203 width: auto !important;
204 margin-left: 0 !important;
205 margin-right: 0 !important;
206}
207
208// The IDS logo stays a slide-wide watermark (top right of every slide,
209// including the title page). The top offset is chosen so the logo's cap line
210// meets the top of the heading text rather than sitting below it; the SVG
211// carries a little transparent padding of its own, which this accounts for.
212$idsLogoTop: 10px;
213$idsLogoRight: 8px;
214
215.reveal .slides {
216 background-image: url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg');
217 background-repeat: no-repeat;
218 background-position: top #{$idsLogoTop} right #{$idsLogoRight};
219 background-size: calc(var(--slide-height) * #{$idsLogoWidthRatio}) auto;
220}
221
222// The orange bar is drawn as a ::before on the headings rather than on the
223// slide, in two segments: one behind the title and one behind the subtitle.
224// Because each segment is sized as a percentage of its own heading's box, the
225// bar always ends exactly at the bottom of the last heading -- it follows a
226// subtitle when there is one, stops at the title when there isn't, and grows
227// by itself when a heading wraps onto a second line. No fixed heights, and no
228// JavaScript. Headings carry no vertical padding, so they sit as high on the
229// slide as the bar does. Every rule is !important because this theme has to
230// win against plugin- and document-level CSS loaded after it.
231.reveal .slides section:not(.title-frame) > h1:first-child,
232.reveal .slides section:not(.title-frame) > h2:first-child {
233 position: relative !important;
234 display: block !important;
235 text-align: left !important;
236 margin: 0 calc(-1 * #{$idsContentInset}) #{$idsHeadingSpacing} calc(-1 * #{$idsContentInset}) !important;
237 padding: 0 0 0 #{$idsContentInset} !important;
238 font-weight: var(--r-heading-font-weight) !important;
239}
240
241.reveal .slides section:not(.title-frame) > h1:first-child::before,
242.reveal .slides section:not(.title-frame) > h2:first-child::before,
243.reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
244 content: "" !important;
245 position: absolute !important;
246 width: #{$idsBarWidth} !important;
247 // A flat fill rather than orange_bar.png: that image is two-toned (a lighter
248 // band across its top), so stretching it over each segment separately left a
249 // pale seam where the two met. The IDS reference decks draw a flat #f6a800.
250 background: #{$idsOrange} !important;
251}
252
253// Title segment: pulled out to the window's physical left edge.
254.reveal .slides section:not(.title-frame) > h1:first-child::before,
255.reveal .slides section:not(.title-frame) > h2:first-child::before {
256 top: 0 !important;
257 left: calc(-1 * #{$idsBandLeft}) !important;
258 height: 100% !important;
259}
260
261// A slide without a subtitle reserves the room one would have taken, so the
262// bar keeps the same height and the body content starts at the same place on
263// every slide. :has() is what lets us ask "is a subtitle coming?" in CSS; where
264// it is unsupported such slides simply keep a title-height bar.
265.reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3)),
266.reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3)) {
267 margin-bottom: calc(#{$idsHeadingSpacing} + #{$idsSubtitleHeight} + #{$blockMargin}) !important;
268}
269
270.reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3))::before,
271.reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3))::before {
272 height: calc(100% + #{$idsHeadingSpacing} + #{$idsSubtitleHeight}) !important;
273}
274
275// The subtitle sits in the slide's normal text column, so its segment has to
276// reach back out to the slide edge, and up over the gap to the title.
277.reveal .slides section:not(.title-frame) > h2:first-child + h3 {
278 position: relative !important;
279 text-align: left !important;
280 margin-top: 0 !important;
281 margin-left: 0 !important;
282 margin-bottom: $blockMargin !important;
283}
284
285.reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
286 top: calc(-1 * (#{$idsHeadingSpacing} + #{$idsBarOverlap})) !important;
287 left: calc(-1 * (#{$idsContentInset} + #{$idsBandLeft})) !important;
288 height: calc(100% + #{$idsHeadingSpacing} + #{$idsBarOverlap}) !important;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200289}
290
Marc Kupietz55c9cef2026-08-08 16:03:06 +0200291// Section-divider slides: a level 1 heading alone on a slide (pandoc marks
292// these .level1). The IDS reference decks centre that title on the slide while
293// the bar stays in its usual top left corner, so here the bar cannot hang off
294// the heading -- it is painted on the slide itself, at the height it has on
295// every other slide, and the heading gets none of the top-left treatment.
296$idsTitleHeight: 1.35 * $mainFontSize * 1.2;
297$idsBarBlockHeight: $idsTitleHeight + $idsHeadingSpacing + $idsSubtitleHeight;
298
299.reveal .slides section.level1:not(.title-frame) {
300 height: 100% !important;
301 display: flex !important;
302 flex-direction: column !important;
303 justify-content: center !important;
304}
305
306.reveal .slides section.level1:not(.title-frame)::before {
307 content: "" !important;
308 position: absolute !important;
309 top: 0 !important;
310 left: calc(-1 * #{$idsBandLeft}) !important;
311 width: #{$idsBarWidth} !important;
312 height: #{$idsBarBlockHeight} !important;
313 background: #{$idsOrange} !important;
314}
315
316.reveal .slides section.level1:not(.title-frame) > h1:first-child {
317 text-align: center !important;
318 margin: 0 !important;
319 padding: 0 !important;
320}
321
322.reveal .slides section.level1:not(.title-frame) > h1:first-child::before {
323 content: none !important;
324}
325
Marc Kupietza737b1b2023-10-07 09:32:20 +0200326// Define additional color effects based on Dracula spec
327// https://spec.draculatheme.com/
328:root {
329 --r-bold-color: #{$idsOrange};
330 --r-list-bullet-color: #{$listBulletColor};
331}
332
333.reveal {
334 strong, b {
335 color: var(--r-bold-color);
336 }
337
338 // Dracula colored list bullets and numbers
339 ul, ol {
340 li::marker {
341 color: var(--r-list-bullet-color) !important;
342 }
343 }
344}
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200345
Marc Kupietz281ba9c2026-08-11 15:37:48 +0200346// Nested list items are set progressively smaller, both to emphasise the
347// hierarchy and to keep deeply nested lists from visually competing with the
348// first level. The em size compounds down the nesting levels, so each deeper
349// level is 80% of its parent (level 2: 80%, level 3: 64%, level 4: 51%).
350// Markers and the hanging indentation (padding-left: 0.7em above) scale with
351// the text automatically.
352.reveal li li {
353 font-size: 0.8em;
354}
355
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200356
357/*********************************************
358 * FOOTER
359 *********************************************/
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200360 #ids-footer:not(title-slide) {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200361 opacity: 1;
362 background: white;
363 color: #444444;
364 border-top: dotted orange 2px;
365 transition: opacity 800ms ease-in-out;
366 position: fixed;
367 height: 6%;
368 line-height: 6%;
369 z-index: -20;
370 width: 100%;
371 letter-spacing: 0em;
372 text-align: center;
373 display: table;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200374}
375
376#ids-footer span {
377 height: 100%;
378 line-height: 100%;
379 z-index: -20;
Marc Kupietz61ad0262024-05-14 22:07:50 +0200380 font-size: 1.8vh;
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200381 font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", "League Gothic", Impact, sans-serif;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200382 display: inline-block;
383 display: table-cell;
384 vertical-align: middle;
385}
386
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200387/* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200388div.progress[style="display: block;"] ~ #ids-footer {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200389 bottom: calc(3px + 0vh);
390}
391
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200392/* Bottom position for the IDS-Footer footer when TOC-Progress is visible */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200393#ids-footer {
394 bottom: 3px;
395}
396
397#ids-footer a {
398 color: #555555;
399}
400
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200401/* Bottom position for the IDS-Footer footer when progress bar is visible */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200402div.progress[style="display: block;"] ~ footer:last-of-type#ids-footer {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200403 bottom: 3px;
404}
405
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200406/* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200407footer:last-of-type#ids-footer {
408 bottom: 0px;
409}
410
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200411/* Make IDS-Footer invisible if explicitly indicated */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200412.no-ids-footer #ids-footer {
413 opacity: 0;
414 transition: opacity 800ms ease-in-out;
415}
416
417.title-frame #ids-footer {
418 opacity: 0;
419 transition: opacity 800ms ease-in-out;
420}
421
422.no-toc-progress #ids-footer {
423 opacity: 0;
424 transition: opacity 800ms ease-in-out;
425}
426
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200427/* Make IDS-Footer invisible in overview mode */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200428.overview #ids-footer {
429 opacity: 0;
430 transition: opacity 800ms ease-in-out;
431}
432
Marc Kupietza0f8f682026-08-08 14:13:11 +0200433// Like the orange bar/IDS logo above, this is painted on the slide itself
434// (rather than on .slide-background-content, which spans the raw,
435// unscaled viewport) so it stays pinned to the title slide's true
436// bottom-right corner instead of the browser window's.
437.reveal .slides section.title-frame {
438 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg");
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200439 background-repeat: no-repeat;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200440 background-position: right 15px bottom 5px;
441 background-size: calc(var(--slide-height) * 0.07) auto;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200442}
443
Marc Kupietze9ace292024-05-14 22:11:15 +0200444@media only screen {
Marc Kupietza0f8f682026-08-08 14:13:11 +0200445 .reveal .slides section.title-frame {
446 background-position: right 45px bottom 5px;
Marc Kupietze9ace292024-05-14 22:11:15 +0200447 }
448}
449
450
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200451.slide-menu-items, .slide-menu-toolbar {
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200452 font-family: "Fira Sans" !important;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200453}
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200454
455/*
456 * Menu controls
457 */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200458body .reveal .slide-menu-button {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200459 color: #aaaaaa !important;
460 position: fixed;
461 left: 30px;
462 bottom: 2%;
463 vertical-align: middle;
464 z-index: 30;
465 font-size: 2vh;
466}
467
468#customcontrols > ul {
469 color: #aaaaaa !important;
470 position: fixed;
Marc Kupietzf51e9152023-10-07 15:32:33 +0200471 left: 50px;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200472 bottom: 2% !important;
473 vertical-align: middle;
474 z-index: 30;
475 font-size: 2vh;
476}
477
478@media only screen and (min-width: 500px) {
479 #customcontrols > ul {
480 bottom: 2% !important;
481 }
482}
Marc Kupietz3fdee732023-10-07 18:52:20 +0200483
Marc Kupietzc7249f92023-10-10 07:16:50 +0200484.reveal .controls .controls-arrow {
485 position: relative;
486 width: 3.6em;
487 height: 3.6em;
488 bottom: -12px;
489 right: -4px;
490}
491
Marc Kupietz3fdee732023-10-07 18:52:20 +0200492.reveal h3, h4, h5, h6 {
493 text-transform: none !important;
494}
495
496.reveal h3, h4, h5, h6 {
497 text-transform: none !important;
498}
499
500.reveal h2 + h3 {
501 margin-top: -0.5em !important;
502}
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200503
504.title-frame h1,
505.title-frame h2 {
506 margin: 0 0 0 0;
507 background: rgb(246, 168, 0);
508 color: white;
509 font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
510 font-weight: 600;
511 line-height: 1.2;
512 letter-spacing: 0.05ex;
513 text-transform: uppercase;
514 width: 100%;
515 margin-top: .5em;
516 padding-top: .5em;
517 font-size: 1.75em;
518 margin-left: 0;
519 text-align: center;
520 text-shadow: none;
521 word-wrap: break-word;
522}
523
524
525.title-frame .author {
526 font-family: "Fira Sans Condensed", sans-serif;
527 font-weight: 400;
528 color: #657b83;
529 margin-top: 10vh;
530}
531
532.title-frame .place {
533 font-family: "Fira Sans Condensed", sans-serif;
534 margin-top: 40px;
535 font-weight: 400;
536 color: #657b83;
537}
538
539.title-frame h2 {
540 margin-top: -3px;
541 margin-bottom: 1em;
542 padding-bottom: .5em;
543 font-size: 1em;
544}
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200545
546/*********************************************
547 * TABLES
548 *********************************************/
549
550 th {
551 color: rgb(246, 168, 0);
552}
553
554table {
555 font-family: 'Fira Sans Condensed', sans-serif;
556 font-weight: 400;
557 font-size: 16px;
558}
559
560.reveal table.dataTable {
561 border: #aaaaaa 1px solid;
562 border-collapse: collapse;
563}
564
565.reveal table.dataTable td {
566 border: #aaaaaa 1px solid;
567 border-collapse: collapse;
568}
569
570.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 {
571 display: none;
572}
573
574.caption {
575 font-family: 'Fira Sans Condensed', sans-serif;
576 font-weight: 400;
577 font-size: 16px;
578 text-align: center;
579}
580
581/*
582table.display td { white-space: nowrap; }
583*/
584
585.dt-buttons, .dataTables_filter {
586 margin-top: 10pt;
587}
588
Marc Kupietz069f1e42023-10-11 10:26:16 +0200589/* Sort Arrows in DataTables */
590table.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 {
591 right: 0 !important;
592 line-height: 80% !important;
593}
594
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200595/*********************************************
596 * BIBLIOGRAPHY
597 *********************************************/
598
599.reveal .references {
600 font-family: "Fira Sans Condensed", sans-serif;
601 font-size: 16px;
602 text-align: left;
603 margin-top: 35px;
604 max-height: 540px;
605 font-weight: 400;
606 color: #253b43;
607 overflow-y: auto;
608}
609
610.hanging-indent > .csl-entry {
611 padding-left: 22px ;
612 text-indent: -22px ;
613}
614
Marc Kupietz21f526c2026-08-14 12:32:56 +0200615// .references scopes these above pandoc's CSL defaults (div.csl-entry), which
616// otherwise win on specificity and pin margin-bottom to 0em.
617.references .csl-entry {
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200618 color: #888888;
Marc Kupietz21f526c2026-08-14 12:32:56 +0200619 margin-bottom: 0.5em;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200620}
621
Marc Kupietz21f526c2026-08-14 12:32:56 +0200622// "Authors (Year):" as a bold dark first line; the theme template's JS wraps
623// the leading text of each entry in .csl-authors-year (see default.html) --
624// which part of an entry citeproc wraps in spans depends on the entry type, so
625// a CSS-only break cannot place it reliably.
626.csl-entry .csl-authors-year {
627 display: block;
628 font-weight: bold;
629 color: #4d616b;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200630}
Marc Kupietz11797162023-10-09 23:17:36 +0200631
632.reveal code.sourceCode:last-child + pre {
633 height: 800px !important;
Marc Kupietzc7249f92023-10-10 07:16:50 +0200634}
635
Marc Kupietz589d1b82023-10-10 12:31:33 +0200636
637/*********************************************
638 * ARROWS and SLIDE NUMBERS
639 *********************************************/
640
641 .reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
642 width: 13px !important; /* size */
643 height: 4px; /* line width */
644}
645
646.reveal .controls {
647 display: none;
648 position: absolute;
649 top: auto;
650 bottom: -8px;
651 right: 16px;
652 left: auto;
653 z-index: 11;
654 /* color: #000;*/
655 pointer-events: none;
656 font-size: 8px;
657}
658
659.reveal .controls .controls-arrow {
660 position: relative;
661 height: 3.6em;
662 width: 1.2em; /* distance betwee arrows */
663 bottom: 0;
664 right: 0;
665}
666
667.reveal div.slide-number {
668 text-align: center;
669 width: 2em;
670 position: absolute;
671 display: block;
672 right: 29px;
673 bottom: 22px;
674 z-index: 31;
675 font-family: "Fira Sans Condensed", sans-serif;
676 font-size: 18px;
677 line-height: 1;
678 background-color: white;
679 color: #666;
680 padding: 0;
681}
682