blob: e97f0c762b783be1404af775e9a55b21c2522382 [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
116// blocks so they line up with the headings, with the markers hanging in the
117// padding so the marker column itself aligns with the heading text.
118.reveal .slides section:not(.title-frame) ul,
119.reveal .slides section:not(.title-frame) ol {
120 display: block !important;
121 text-align: left !important;
122 margin-left: 0 !important;
123 padding-left: 0.7em !important;
124}
125
126// reveal.js centres code blocks (width: 90%; margin: auto); make them fill the
127// slide's text column so they start on the same left edge as the headings.
128.reveal .slides section:not(.title-frame) pre {
129 width: auto !important;
130 margin-left: 0 !important;
131 margin-right: 0 !important;
132}
133
134// The IDS logo stays a slide-wide watermark (top right of every slide,
135// including the title page). The top offset is chosen so the logo's cap line
136// meets the top of the heading text rather than sitting below it; the SVG
137// carries a little transparent padding of its own, which this accounts for.
138$idsLogoTop: 10px;
139$idsLogoRight: 8px;
140
141.reveal .slides {
142 background-image: url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg');
143 background-repeat: no-repeat;
144 background-position: top #{$idsLogoTop} right #{$idsLogoRight};
145 background-size: calc(var(--slide-height) * #{$idsLogoWidthRatio}) auto;
146}
147
148// The orange bar is drawn as a ::before on the headings rather than on the
149// slide, in two segments: one behind the title and one behind the subtitle.
150// Because each segment is sized as a percentage of its own heading's box, the
151// bar always ends exactly at the bottom of the last heading -- it follows a
152// subtitle when there is one, stops at the title when there isn't, and grows
153// by itself when a heading wraps onto a second line. No fixed heights, and no
154// JavaScript. Headings carry no vertical padding, so they sit as high on the
155// slide as the bar does. Every rule is !important because this theme has to
156// win against plugin- and document-level CSS loaded after it.
157.reveal .slides section:not(.title-frame) > h1:first-child,
158.reveal .slides section:not(.title-frame) > h2:first-child {
159 position: relative !important;
160 display: block !important;
161 text-align: left !important;
162 margin: 0 calc(-1 * #{$idsContentInset}) #{$idsHeadingSpacing} calc(-1 * #{$idsContentInset}) !important;
163 padding: 0 0 0 #{$idsContentInset} !important;
164 font-weight: var(--r-heading-font-weight) !important;
165}
166
167.reveal .slides section:not(.title-frame) > h1:first-child::before,
168.reveal .slides section:not(.title-frame) > h2:first-child::before,
169.reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
170 content: "" !important;
171 position: absolute !important;
172 width: #{$idsBarWidth} !important;
173 // A flat fill rather than orange_bar.png: that image is two-toned (a lighter
174 // band across its top), so stretching it over each segment separately left a
175 // pale seam where the two met. The IDS reference decks draw a flat #f6a800.
176 background: #{$idsOrange} !important;
177}
178
179// Title segment: pulled out to the window's physical left edge.
180.reveal .slides section:not(.title-frame) > h1:first-child::before,
181.reveal .slides section:not(.title-frame) > h2:first-child::before {
182 top: 0 !important;
183 left: calc(-1 * #{$idsBandLeft}) !important;
184 height: 100% !important;
185}
186
187// A slide without a subtitle reserves the room one would have taken, so the
188// bar keeps the same height and the body content starts at the same place on
189// every slide. :has() is what lets us ask "is a subtitle coming?" in CSS; where
190// it is unsupported such slides simply keep a title-height bar.
191.reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3)),
192.reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3)) {
193 margin-bottom: calc(#{$idsHeadingSpacing} + #{$idsSubtitleHeight} + #{$blockMargin}) !important;
194}
195
196.reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3))::before,
197.reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3))::before {
198 height: calc(100% + #{$idsHeadingSpacing} + #{$idsSubtitleHeight}) !important;
199}
200
201// The subtitle sits in the slide's normal text column, so its segment has to
202// reach back out to the slide edge, and up over the gap to the title.
203.reveal .slides section:not(.title-frame) > h2:first-child + h3 {
204 position: relative !important;
205 text-align: left !important;
206 margin-top: 0 !important;
207 margin-left: 0 !important;
208 margin-bottom: $blockMargin !important;
209}
210
211.reveal .slides section:not(.title-frame) > h2:first-child + h3::before {
212 top: calc(-1 * (#{$idsHeadingSpacing} + #{$idsBarOverlap})) !important;
213 left: calc(-1 * (#{$idsContentInset} + #{$idsBandLeft})) !important;
214 height: calc(100% + #{$idsHeadingSpacing} + #{$idsBarOverlap}) !important;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200215}
216
Marc Kupietz55c9cef2026-08-08 16:03:06 +0200217// Section-divider slides: a level 1 heading alone on a slide (pandoc marks
218// these .level1). The IDS reference decks centre that title on the slide while
219// the bar stays in its usual top left corner, so here the bar cannot hang off
220// the heading -- it is painted on the slide itself, at the height it has on
221// every other slide, and the heading gets none of the top-left treatment.
222$idsTitleHeight: 1.35 * $mainFontSize * 1.2;
223$idsBarBlockHeight: $idsTitleHeight + $idsHeadingSpacing + $idsSubtitleHeight;
224
225.reveal .slides section.level1:not(.title-frame) {
226 height: 100% !important;
227 display: flex !important;
228 flex-direction: column !important;
229 justify-content: center !important;
230}
231
232.reveal .slides section.level1:not(.title-frame)::before {
233 content: "" !important;
234 position: absolute !important;
235 top: 0 !important;
236 left: calc(-1 * #{$idsBandLeft}) !important;
237 width: #{$idsBarWidth} !important;
238 height: #{$idsBarBlockHeight} !important;
239 background: #{$idsOrange} !important;
240}
241
242.reveal .slides section.level1:not(.title-frame) > h1:first-child {
243 text-align: center !important;
244 margin: 0 !important;
245 padding: 0 !important;
246}
247
248.reveal .slides section.level1:not(.title-frame) > h1:first-child::before {
249 content: none !important;
250}
251
Marc Kupietza737b1b2023-10-07 09:32:20 +0200252// Define additional color effects based on Dracula spec
253// https://spec.draculatheme.com/
254:root {
255 --r-bold-color: #{$idsOrange};
256 --r-list-bullet-color: #{$listBulletColor};
257}
258
259.reveal {
260 strong, b {
261 color: var(--r-bold-color);
262 }
263
264 // Dracula colored list bullets and numbers
265 ul, ol {
266 li::marker {
267 color: var(--r-list-bullet-color) !important;
268 }
269 }
270}
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200271
272
273/*********************************************
274 * FOOTER
275 *********************************************/
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200276 #ids-footer:not(title-slide) {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200277 opacity: 1;
278 background: white;
279 color: #444444;
280 border-top: dotted orange 2px;
281 transition: opacity 800ms ease-in-out;
282 position: fixed;
283 height: 6%;
284 line-height: 6%;
285 z-index: -20;
286 width: 100%;
287 letter-spacing: 0em;
288 text-align: center;
289 display: table;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200290}
291
292#ids-footer span {
293 height: 100%;
294 line-height: 100%;
295 z-index: -20;
Marc Kupietz61ad0262024-05-14 22:07:50 +0200296 font-size: 1.8vh;
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200297 font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", "League Gothic", Impact, sans-serif;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200298 display: inline-block;
299 display: table-cell;
300 vertical-align: middle;
301}
302
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200303/* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200304div.progress[style="display: block;"] ~ #ids-footer {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200305 bottom: calc(3px + 0vh);
306}
307
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200308/* Bottom position for the IDS-Footer footer when TOC-Progress is visible */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200309#ids-footer {
310 bottom: 3px;
311}
312
313#ids-footer a {
314 color: #555555;
315}
316
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200317/* Bottom position for the IDS-Footer footer when progress bar is visible */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200318div.progress[style="display: block;"] ~ footer:last-of-type#ids-footer {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200319 bottom: 3px;
320}
321
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200322/* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200323footer:last-of-type#ids-footer {
324 bottom: 0px;
325}
326
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200327/* Make IDS-Footer invisible if explicitly indicated */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200328.no-ids-footer #ids-footer {
329 opacity: 0;
330 transition: opacity 800ms ease-in-out;
331}
332
333.title-frame #ids-footer {
334 opacity: 0;
335 transition: opacity 800ms ease-in-out;
336}
337
338.no-toc-progress #ids-footer {
339 opacity: 0;
340 transition: opacity 800ms ease-in-out;
341}
342
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200343/* Make IDS-Footer invisible in overview mode */
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200344.overview #ids-footer {
345 opacity: 0;
346 transition: opacity 800ms ease-in-out;
347}
348
Marc Kupietza0f8f682026-08-08 14:13:11 +0200349// Like the orange bar/IDS logo above, this is painted on the slide itself
350// (rather than on .slide-background-content, which spans the raw,
351// unscaled viewport) so it stays pinned to the title slide's true
352// bottom-right corner instead of the browser window's.
353.reveal .slides section.title-frame {
354 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg");
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200355 background-repeat: no-repeat;
Marc Kupietza0f8f682026-08-08 14:13:11 +0200356 background-position: right 15px bottom 5px;
357 background-size: calc(var(--slide-height) * 0.07) auto;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200358}
359
Marc Kupietze9ace292024-05-14 22:11:15 +0200360@media only screen {
Marc Kupietza0f8f682026-08-08 14:13:11 +0200361 .reveal .slides section.title-frame {
362 background-position: right 45px bottom 5px;
Marc Kupietze9ace292024-05-14 22:11:15 +0200363 }
364}
365
366
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200367.slide-menu-items, .slide-menu-toolbar {
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200368 font-family: "Fira Sans" !important;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200369}
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200370
371/*
372 * Menu controls
373 */
Marc Kupietzc0b272d2023-10-08 14:24:18 +0200374body .reveal .slide-menu-button {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200375 color: #aaaaaa !important;
376 position: fixed;
377 left: 30px;
378 bottom: 2%;
379 vertical-align: middle;
380 z-index: 30;
381 font-size: 2vh;
382}
383
384#customcontrols > ul {
385 color: #aaaaaa !important;
386 position: fixed;
Marc Kupietzf51e9152023-10-07 15:32:33 +0200387 left: 50px;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200388 bottom: 2% !important;
389 vertical-align: middle;
390 z-index: 30;
391 font-size: 2vh;
392}
393
394@media only screen and (min-width: 500px) {
395 #customcontrols > ul {
396 bottom: 2% !important;
397 }
398}
Marc Kupietz3fdee732023-10-07 18:52:20 +0200399
Marc Kupietzc7249f92023-10-10 07:16:50 +0200400.reveal .controls .controls-arrow {
401 position: relative;
402 width: 3.6em;
403 height: 3.6em;
404 bottom: -12px;
405 right: -4px;
406}
407
Marc Kupietz3fdee732023-10-07 18:52:20 +0200408.reveal h3, h4, h5, h6 {
409 text-transform: none !important;
410}
411
412.reveal h3, h4, h5, h6 {
413 text-transform: none !important;
414}
415
416.reveal h2 + h3 {
417 margin-top: -0.5em !important;
418}
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200419
420.title-frame h1,
421.title-frame h2 {
422 margin: 0 0 0 0;
423 background: rgb(246, 168, 0);
424 color: white;
425 font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
426 font-weight: 600;
427 line-height: 1.2;
428 letter-spacing: 0.05ex;
429 text-transform: uppercase;
430 width: 100%;
431 margin-top: .5em;
432 padding-top: .5em;
433 font-size: 1.75em;
434 margin-left: 0;
435 text-align: center;
436 text-shadow: none;
437 word-wrap: break-word;
438}
439
440
441.title-frame .author {
442 font-family: "Fira Sans Condensed", sans-serif;
443 font-weight: 400;
444 color: #657b83;
445 margin-top: 10vh;
446}
447
448.title-frame .place {
449 font-family: "Fira Sans Condensed", sans-serif;
450 margin-top: 40px;
451 font-weight: 400;
452 color: #657b83;
453}
454
455.title-frame h2 {
456 margin-top: -3px;
457 margin-bottom: 1em;
458 padding-bottom: .5em;
459 font-size: 1em;
460}
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200461
462/*********************************************
463 * TABLES
464 *********************************************/
465
466 th {
467 color: rgb(246, 168, 0);
468}
469
470table {
471 font-family: 'Fira Sans Condensed', sans-serif;
472 font-weight: 400;
473 font-size: 16px;
474}
475
476.reveal table.dataTable {
477 border: #aaaaaa 1px solid;
478 border-collapse: collapse;
479}
480
481.reveal table.dataTable td {
482 border: #aaaaaa 1px solid;
483 border-collapse: collapse;
484}
485
486.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 {
487 display: none;
488}
489
490.caption {
491 font-family: 'Fira Sans Condensed', sans-serif;
492 font-weight: 400;
493 font-size: 16px;
494 text-align: center;
495}
496
497/*
498table.display td { white-space: nowrap; }
499*/
500
501.dt-buttons, .dataTables_filter {
502 margin-top: 10pt;
503}
504
Marc Kupietz069f1e42023-10-11 10:26:16 +0200505/* Sort Arrows in DataTables */
506table.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 {
507 right: 0 !important;
508 line-height: 80% !important;
509}
510
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200511/*********************************************
512 * BIBLIOGRAPHY
513 *********************************************/
514
515.reveal .references {
516 font-family: "Fira Sans Condensed", sans-serif;
517 font-size: 16px;
518 text-align: left;
519 margin-top: 35px;
520 max-height: 540px;
521 font-weight: 400;
522 color: #253b43;
523 overflow-y: auto;
524}
525
526.hanging-indent > .csl-entry {
527 padding-left: 22px ;
528 text-indent: -22px ;
529}
530
531.csl-entry::first-line {
532 color: #253b43;
533}
534
535.csl-entry {
536 color: #888888;
537}
538
539/* Add line break after authors and year*/
540.csl-entry :first-child::before {
541 content: "\a";
542 white-space: pre;
543}
Marc Kupietz11797162023-10-09 23:17:36 +0200544
545.reveal code.sourceCode:last-child + pre {
546 height: 800px !important;
Marc Kupietzc7249f92023-10-10 07:16:50 +0200547}
548
Marc Kupietz589d1b82023-10-10 12:31:33 +0200549
550/*********************************************
551 * ARROWS and SLIDE NUMBERS
552 *********************************************/
553
554 .reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
555 width: 13px !important; /* size */
556 height: 4px; /* line width */
557}
558
559.reveal .controls {
560 display: none;
561 position: absolute;
562 top: auto;
563 bottom: -8px;
564 right: 16px;
565 left: auto;
566 z-index: 11;
567 /* color: #000;*/
568 pointer-events: none;
569 font-size: 8px;
570}
571
572.reveal .controls .controls-arrow {
573 position: relative;
574 height: 3.6em;
575 width: 1.2em; /* distance betwee arrows */
576 bottom: 0;
577 right: 0;
578}
579
580.reveal div.slide-number {
581 text-align: center;
582 width: 2em;
583 position: absolute;
584 display: block;
585 right: 29px;
586 bottom: 22px;
587 z-index: 31;
588 font-family: "Fira Sans Condensed", sans-serif;
589 font-size: 18px;
590 line-height: 1;
591 background-color: white;
592 color: #666;
593 padding: 0;
594}
595