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