blob: c1adfba67b9385147db4a3f9ba170aeeee1265fe [file] [log] [blame]
Marc Kupietza737b1b2023-10-07 09:32:20 +02001/**
2 * IDS theme for reveal.js
3 *
4 * By Marc Kupietz
5 */
6@import url("https://code.cdn.mozilla.net/fonts/fira.css");
7@import url("https://korap.ids-mannheim.de/font/fira-condensed.css");
8@import url("https://korap.ids-mannheim.de/font/libertinus.css");
9section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
10 color: #fff;
11}
12
13/*********************************************
14 * GLOBAL STYLES
15 *********************************************/
16:root {
17 --r-background-color: #fff;
18 --r-main-font: Libertinus Serif, Helvetica, sans-serif;
19 --r-main-font-size: 42px;
20 --r-main-color: #222;
21 --r-block-margin: 20px;
22 --r-heading-margin: 0 0 20px 0;
Marc Kupietzdf0eda92023-10-07 20:50:00 +020023 --r-heading-font: Fira Sans Condensed, Fira Sans, Helvetica, sans-serif;
Marc Kupietza737b1b2023-10-07 09:32:20 +020024 --r-heading-color: #f6a800;
25 --r-heading-line-height: 1.2;
26 --r-heading-letter-spacing: 0.05ex;
27 --r-heading-text-transform: uppercase;
28 --r-heading-text-shadow: none;
29 --r-heading-font-weight: 600;
30 --r-heading1-text-shadow: none;
31 --r-heading1-size: 2em;
32 --r-heading2-size: 1.35em;
Marc Kupietzdc994e22023-10-07 18:50:18 +020033 --r-heading3-size: 0.9em;
34 --r-heading4-size: 0.7em;
Marc Kupietza737b1b2023-10-07 09:32:20 +020035 --r-code-font: monospace;
36 --r-link-color: #2a76dd;
37 --r-link-color-dark: #1a53a1;
38 --r-link-color-hover: #6ca0e8;
39 --r-selection-background-color: #98bdef;
40 --r-selection-color: #fff;
41}
42
43.reveal-viewport {
44 background: #fff;
45 background-color: var(--r-background-color);
46}
47
48.reveal {
49 font-family: var(--r-main-font);
50 font-size: var(--r-main-font-size);
51 font-weight: normal;
52 color: var(--r-main-color);
53}
54
55.reveal ::selection {
56 color: var(--r-selection-color);
57 background: var(--r-selection-background-color);
58 text-shadow: none;
59}
60
61.reveal ::-moz-selection {
62 color: var(--r-selection-color);
63 background: var(--r-selection-background-color);
64 text-shadow: none;
65}
66
67.reveal .slides section,
68.reveal .slides section > section {
69 line-height: 1.3;
70 font-weight: inherit;
71}
72
73/*********************************************
74 * HEADERS
75 *********************************************/
76.reveal h1,
77.reveal h2,
78.reveal h3,
79.reveal h4,
80.reveal h5,
81.reveal h6 {
82 margin: var(--r-heading-margin);
83 color: var(--r-heading-color);
84 font-family: var(--r-heading-font);
85 font-weight: var(--r-heading-font-weight);
86 line-height: var(--r-heading-line-height);
87 letter-spacing: var(--r-heading-letter-spacing);
88 text-transform: var(--r-heading-text-transform);
89 text-shadow: var(--r-heading-text-shadow);
90 word-wrap: break-word;
91}
92
93.reveal h1 {
94 font-size: var(--r-heading1-size);
95}
96
97.reveal h2 {
98 font-size: var(--r-heading2-size);
99}
100
101.reveal h3 {
102 font-size: var(--r-heading3-size);
103}
104
105.reveal h4 {
106 font-size: var(--r-heading4-size);
107}
108
109.reveal h1 {
110 text-shadow: var(--r-heading1-text-shadow);
111}
112
113/*********************************************
114 * OTHER
115 *********************************************/
116.reveal p {
117 margin: var(--r-block-margin) 0;
118 line-height: 1.3;
119}
120
121/* Remove trailing margins after titles */
122.reveal h1:last-child,
123.reveal h2:last-child,
124.reveal h3:last-child,
125.reveal h4:last-child,
126.reveal h5:last-child,
127.reveal h6:last-child {
128 margin-bottom: 0;
129}
130
131/* Ensure certain elements are never larger than the slide itself */
132.reveal img,
133.reveal video,
134.reveal iframe {
135 max-width: 95%;
136 max-height: 95%;
137}
138
139.reveal strong,
140.reveal b {
141 font-weight: bold;
142}
143
144.reveal em {
145 font-style: italic;
146}
147
148.reveal ol,
149.reveal dl,
150.reveal ul {
151 display: inline-block;
152 text-align: left;
153 margin: 0 0 0 1em;
154}
155
156.reveal ol {
157 list-style-type: decimal;
158}
159
160.reveal ul {
161 list-style-type: disc;
162}
163
164.reveal ul ul {
165 list-style-type: square;
166}
167
168.reveal ul ul ul {
169 list-style-type: circle;
170}
171
172.reveal ul ul,
173.reveal ul ol,
174.reveal ol ol,
175.reveal ol ul {
176 display: block;
177 margin-left: 40px;
178}
179
180.reveal dt {
181 font-weight: bold;
182}
183
184.reveal dd {
185 margin-left: 40px;
186}
187
188.reveal blockquote {
189 display: block;
190 position: relative;
191 width: 70%;
192 margin: var(--r-block-margin) auto;
193 padding: 5px;
194 font-style: italic;
195 background: rgba(255, 255, 255, 0.05);
196 box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
197}
198
199.reveal blockquote p:first-child,
200.reveal blockquote p:last-child {
201 display: inline-block;
202}
203
204.reveal q {
205 font-style: italic;
206}
207
208.reveal pre {
209 display: block;
210 position: relative;
211 width: 90%;
212 margin: var(--r-block-margin) auto;
213 text-align: left;
214 font-size: 0.55em;
215 font-family: var(--r-code-font);
216 line-height: 1.2em;
217 word-wrap: break-word;
218 box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
219}
220
221.reveal code {
222 font-family: var(--r-code-font);
223 text-transform: none;
224 tab-size: 2;
225}
226
227.reveal pre code {
228 display: block;
229 padding: 5px;
230 overflow: auto;
231 max-height: 400px;
232 word-wrap: normal;
233}
234
235.reveal .code-wrapper {
236 white-space: normal;
237}
238
239.reveal .code-wrapper code {
240 white-space: pre;
241}
242
243.reveal table {
244 margin: auto;
245 border-collapse: collapse;
246 border-spacing: 0;
247}
248
249.reveal table th {
250 font-weight: bold;
251}
252
253.reveal table th,
254.reveal table td {
255 text-align: left;
256 padding: 0.2em 0.5em 0.2em 0.5em;
257 border-bottom: 1px solid;
258}
259
260.reveal table th[align=center],
261.reveal table td[align=center] {
262 text-align: center;
263}
264
265.reveal table th[align=right],
266.reveal table td[align=right] {
267 text-align: right;
268}
269
270.reveal table tbody tr:last-child th,
271.reveal table tbody tr:last-child td {
272 border-bottom: none;
273}
274
275.reveal sup {
276 vertical-align: super;
277 font-size: smaller;
278}
279
280.reveal sub {
281 vertical-align: sub;
282 font-size: smaller;
283}
284
285.reveal small {
286 display: inline-block;
287 font-size: 0.6em;
288 line-height: 1.2em;
289 vertical-align: top;
290}
291
292.reveal small * {
293 vertical-align: top;
294}
295
296.reveal img {
297 margin: var(--r-block-margin) 0;
298}
299
300/*********************************************
301 * LINKS
302 *********************************************/
303.reveal a {
304 color: var(--r-link-color);
305 text-decoration: none;
306 transition: color 0.15s ease;
307}
308
309.reveal a:hover {
310 color: var(--r-link-color-hover);
311 text-shadow: none;
312 border: none;
313}
314
315.reveal .roll span:after {
316 color: #fff;
317 background: var(--r-link-color-dark);
318}
319
320/*********************************************
321 * Frame helper
322 *********************************************/
323.reveal .r-frame {
324 border: 4px solid var(--r-main-color);
325 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
326}
327
328.reveal a .r-frame {
329 transition: all 0.15s linear;
330}
331
332.reveal a:hover .r-frame {
333 border-color: var(--r-link-color);
334 box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
335}
336
337/*********************************************
338 * NAVIGATION CONTROLS
339 *********************************************/
340.reveal .controls {
341 color: var(--r-link-color);
342}
343
344/*********************************************
345 * PROGRESS BAR
346 *********************************************/
347.reveal .progress {
348 background: rgba(0, 0, 0, 0.2);
349 color: var(--r-link-color);
350}
351
352/*********************************************
353 * PRINT BACKGROUND
354 *********************************************/
355@media print {
356 .backgrounds {
357 background-color: var(--r-background-color);
358 }
359}
360body {
361 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg"), url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/orange_bar.png") !important;
362 background-repeat: no-repeat !important;
363 background-position: top 20px right 20px, top 20px left !important;
364 background-size: 25vH auto, 4vH 16vH !important;
365}
366
367:root {
368 --r-bold-color: #f6a800;
369 --r-list-bullet-color: #f6a800;
370}
371
372.reveal strong, .reveal b {
373 color: var(--r-bold-color);
374}
375.reveal ul li::marker, .reveal ol li::marker {
376 color: var(--r-list-bullet-color) !important;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200377}
378
379/*********************************************
380 * FOOTER
381 *********************************************/
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200382#ids-footer:not(title-slide) {
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200383 opacity: 1;
384 background: white;
385 color: #444444;
386 border-top: dotted orange 2px;
387 transition: opacity 800ms ease-in-out;
388 position: fixed;
389 height: 6%;
390 line-height: 6%;
391 z-index: -20;
392 width: 100%;
393 letter-spacing: 0em;
394 text-align: center;
395 display: table;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200396}
397
398#ids-footer span {
399 height: 100%;
400 line-height: 100%;
401 z-index: -20;
402 font-size: 2vh;
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200403 font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", "League Gothic", Impact, sans-serif;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200404 display: inline-block;
405 display: table-cell;
406 vertical-align: middle;
407}
408
409/* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */
410div.progress[style="display: block;"] ~ #ids-footer {
411 bottom: calc(3px + 0vh);
412}
413
414/* Bottom position for the IDS-Footer footer when TOC-Progress is visible */
415#ids-footer {
416 bottom: 3px;
417}
418
419#ids-footer a {
420 color: #555555;
421}
422
423/* Bottom position for the IDS-Footer footer when progress bar is visible */
424div.progress[style="display: block;"] ~ footer:last-of-type#ids-footer {
425 bottom: 3px;
426}
427
428/* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */
429footer:last-of-type#ids-footer {
430 bottom: 0px;
431}
432
433/* Make IDS-Footer invisible if explicitly indicated */
434.no-ids-footer #ids-footer {
435 opacity: 0;
436 transition: opacity 800ms ease-in-out;
437}
438
439.title-frame #ids-footer {
440 opacity: 0;
441 transition: opacity 800ms ease-in-out;
442}
443
444.no-toc-progress #ids-footer {
445 opacity: 0;
446 transition: opacity 800ms ease-in-out;
447}
448
449/* Make IDS-Footer invisible in overview mode */
450.overview #ids-footer {
451 opacity: 0;
452 transition: opacity 800ms ease-in-out;
453}
454
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200455.reveal .title-frame .slide-number {
456 display: none !important;
457}
458
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200459.title-frame div.slide-background-content {
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200460 text-align: right !important;
461 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important;
462 background-repeat: no-repeat;
463 background-position: right 90px bottom 10px !important;
464 background-size: 7vH auto !important;
465}
466
467.slide-menu-items, .slide-menu-toolbar {
468 font-family: "Fira Sans" !important;
469}
470
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200471/*
472 * Menu controls
473 */
474body .reveal .slide-menu-button {
475 color: #aaaaaa !important;
476 position: fixed;
477 left: 30px;
478 bottom: 2%;
479 vertical-align: middle;
480 z-index: 30;
481 font-size: 2vh;
482}
483
484#customcontrols > ul {
485 color: #aaaaaa !important;
486 position: fixed;
Marc Kupietzf51e9152023-10-07 15:32:33 +0200487 left: 50px;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200488 bottom: 2% !important;
489 vertical-align: middle;
490 z-index: 30;
491 font-size: 2vh;
492}
493
494@media only screen and (min-width: 500px) {
495 #customcontrols > ul {
496 bottom: 2% !important;
497 }
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200498}
Marc Kupietzc7249f92023-10-10 07:16:50 +0200499.reveal .controls .controls-arrow {
500 position: relative;
501 width: 3.6em;
502 height: 3.6em;
503 bottom: -12px;
504 right: -4px;
505}
506
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200507.reveal h3, h4, h5, h6 {
508 text-transform: none !important;
509}
510
511.reveal h3, h4, h5, h6 {
512 text-transform: none !important;
513}
514
515.reveal h2 + h3 {
516 margin-top: -0.5em !important;
517}
518
Marc Kupietzfac437e2023-10-09 23:16:38 +0200519.reveal h1:last-child {
520 margin-top: 250px;
521}
522
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200523.title-frame h1,
524.title-frame h2 {
525 margin: 0 0 0 0;
526 background: #f6a800;
527 color: white;
528 font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
529 font-weight: 600;
530 line-height: 1.2;
531 letter-spacing: 0.05ex;
532 text-transform: uppercase;
533 width: 100%;
534 margin-top: 0.5em;
535 padding-top: 0.5em;
536 font-size: 1.75em;
537 margin-left: 0;
538 text-align: center;
539 text-shadow: none;
540 word-wrap: break-word;
541}
542
543.title-frame .author {
544 font-family: "Fira Sans Condensed", sans-serif;
545 font-weight: 400;
546 color: #657b83;
547 margin-top: 10vh;
548}
549
550.title-frame .place {
551 font-family: "Fira Sans Condensed", sans-serif;
552 margin-top: 40px;
553 font-weight: 400;
554 color: #657b83;
555}
556
557.title-frame h2 {
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200558 margin-top: -3px;
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200559 margin-bottom: 1em;
560 padding-bottom: 0.5em;
561 font-size: 1em;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200562}
563
564/*********************************************
565 * TABLES
566 *********************************************/
567th {
568 color: #f6a800;
569}
570
571table {
572 font-family: "Fira Sans Condensed", sans-serif;
573 font-weight: 400;
574 font-size: 16px;
575}
576
577.reveal table.dataTable {
578 border: #aaaaaa 1px solid;
579 border-collapse: collapse;
580}
581
582.reveal table.dataTable td {
583 border: #aaaaaa 1px solid;
584 border-collapse: collapse;
585}
586
587.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 {
588 display: none;
589}
590
591.caption {
592 font-family: "Fira Sans Condensed", sans-serif;
593 font-weight: 400;
594 font-size: 16px;
595 text-align: center;
596}
597
598/*
599table.display td { white-space: nowrap; }
600*/
601.dt-buttons, .dataTables_filter {
602 margin-top: 10pt;
603}
604
605/*********************************************
606 * BIBLIOGRAPHY
607 *********************************************/
608.reveal .references {
609 font-family: "Fira Sans Condensed", sans-serif;
610 font-size: 16px;
611 text-align: left;
612 margin-top: 35px;
613 max-height: 540px;
614 font-weight: 400;
615 color: #253b43;
616 overflow-y: auto;
617}
618
619.hanging-indent > .csl-entry {
620 padding-left: 22px;
621 text-indent: -22px;
622}
623
624.csl-entry::first-line {
625 color: #253b43;
626}
627
628.csl-entry {
629 color: #888888;
630}
631
632/* Add line break after authors and year*/
633.csl-entry :first-child::before {
634 content: "\a";
635 white-space: pre;
Marc Kupietz11797162023-10-09 23:17:36 +0200636}
637
638.reveal code.sourceCode:last-child + pre {
639 height: 800px !important;
Marc Kupietz589d1b82023-10-10 12:31:33 +0200640}
641
642/*********************************************
643 * ARROWS and SLIDE NUMBERS
644 *********************************************/
645.reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
646 width: 13px !important;
647 /* size */
648 height: 4px;
649 /* line width */
650}
651
652.reveal .controls {
653 display: none;
654 position: absolute;
655 top: auto;
656 bottom: -8px;
657 right: 16px;
658 left: auto;
659 z-index: 11;
660 /* color: #000;*/
661 pointer-events: none;
662 font-size: 8px;
663}
664
665.reveal .controls .controls-arrow {
666 position: relative;
667 height: 3.6em;
668 width: 1.2em;
669 /* distance betwee arrows */
670 bottom: 0;
671 right: 0;
672}
673
674.reveal div.slide-number {
675 text-align: center;
676 width: 2em;
677 position: absolute;
678 display: block;
679 right: 29px;
680 bottom: 22px;
681 z-index: 31;
682 font-family: "Fira Sans Condensed", sans-serif;
683 font-size: 18px;
684 line-height: 1;
685 background-color: white;
686 color: #666;
687 padding: 0;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200688}