blob: 301ed22184f2f80f7e54fd4b6f99e4d0ae8ada40 [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;
404 font-size: 2vh;
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 Kupietzf0ce0322023-10-07 15:33:47 +0200457.reveal .title-frame .slide-number {
458 display: none !important;
459}
460
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200461.title-frame div.slide-background-content {
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200462 text-align: right !important;
463 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important;
464 background-repeat: no-repeat;
465 background-position: right 90px bottom 10px !important;
466 background-size: 7vH auto !important;
467}
468
469.slide-menu-items, .slide-menu-toolbar {
470 font-family: "Fira Sans" !important;
471}
472
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200473/*
474 * Menu controls
475 */
476body .reveal .slide-menu-button {
477 color: #aaaaaa !important;
478 position: fixed;
479 left: 30px;
480 bottom: 2%;
481 vertical-align: middle;
482 z-index: 30;
483 font-size: 2vh;
484}
485
486#customcontrols > ul {
487 color: #aaaaaa !important;
488 position: fixed;
Marc Kupietzf51e9152023-10-07 15:32:33 +0200489 left: 50px;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200490 bottom: 2% !important;
491 vertical-align: middle;
492 z-index: 30;
493 font-size: 2vh;
494}
495
496@media only screen and (min-width: 500px) {
497 #customcontrols > ul {
498 bottom: 2% !important;
499 }
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200500}
Marc Kupietzc7249f92023-10-10 07:16:50 +0200501.reveal .controls .controls-arrow {
502 position: relative;
503 width: 3.6em;
504 height: 3.6em;
505 bottom: -12px;
506 right: -4px;
507}
508
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200509.reveal h3, h4, h5, h6 {
510 text-transform: none !important;
511}
512
513.reveal h3, h4, h5, h6 {
514 text-transform: none !important;
515}
516
517.reveal h2 + h3 {
518 margin-top: -0.5em !important;
519}
520
Marc Kupietzfac437e2023-10-09 23:16:38 +0200521.reveal h1:last-child {
522 margin-top: 250px;
523}
524
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200525.title-frame h1,
526.title-frame h2 {
527 margin: 0 0 0 0;
Marc Kupietz9c036a42024-05-14 13:17:25 +0200528 background: rgb(246, 168, 0);
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200529 color: white;
530 font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
531 font-weight: 600;
532 line-height: 1.2;
533 letter-spacing: 0.05ex;
534 text-transform: uppercase;
535 width: 100%;
536 margin-top: 0.5em;
537 padding-top: 0.5em;
538 font-size: 1.75em;
539 margin-left: 0;
540 text-align: center;
541 text-shadow: none;
542 word-wrap: break-word;
543}
544
545.title-frame .author {
546 font-family: "Fira Sans Condensed", sans-serif;
547 font-weight: 400;
548 color: #657b83;
549 margin-top: 10vh;
550}
551
552.title-frame .place {
553 font-family: "Fira Sans Condensed", sans-serif;
554 margin-top: 40px;
555 font-weight: 400;
556 color: #657b83;
557}
558
559.title-frame h2 {
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200560 margin-top: -3px;
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200561 margin-bottom: 1em;
562 padding-bottom: 0.5em;
563 font-size: 1em;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200564}
565
566/*********************************************
567 * TABLES
568 *********************************************/
569th {
Marc Kupietz9c036a42024-05-14 13:17:25 +0200570 color: rgb(246, 168, 0);
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200571}
572
573table {
574 font-family: "Fira Sans Condensed", sans-serif;
575 font-weight: 400;
576 font-size: 16px;
577}
578
579.reveal table.dataTable {
580 border: #aaaaaa 1px solid;
581 border-collapse: collapse;
582}
583
584.reveal table.dataTable td {
585 border: #aaaaaa 1px solid;
586 border-collapse: collapse;
587}
588
589.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 {
590 display: none;
591}
592
593.caption {
594 font-family: "Fira Sans Condensed", sans-serif;
595 font-weight: 400;
596 font-size: 16px;
597 text-align: center;
598}
599
600/*
601table.display td { white-space: nowrap; }
602*/
603.dt-buttons, .dataTables_filter {
604 margin-top: 10pt;
605}
606
Marc Kupietz069f1e42023-10-11 10:26:16 +0200607/* Sort Arrows in DataTables */
608table.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 {
609 right: 0 !important;
610 line-height: 80% !important;
611}
612
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200613/*********************************************
614 * BIBLIOGRAPHY
615 *********************************************/
616.reveal .references {
617 font-family: "Fira Sans Condensed", sans-serif;
618 font-size: 16px;
619 text-align: left;
620 margin-top: 35px;
621 max-height: 540px;
622 font-weight: 400;
623 color: #253b43;
624 overflow-y: auto;
625}
626
627.hanging-indent > .csl-entry {
628 padding-left: 22px;
629 text-indent: -22px;
630}
631
632.csl-entry::first-line {
633 color: #253b43;
634}
635
636.csl-entry {
637 color: #888888;
638}
639
640/* Add line break after authors and year*/
641.csl-entry :first-child::before {
642 content: "\a";
643 white-space: pre;
Marc Kupietz11797162023-10-09 23:17:36 +0200644}
645
646.reveal code.sourceCode:last-child + pre {
647 height: 800px !important;
Marc Kupietz589d1b82023-10-10 12:31:33 +0200648}
649
650/*********************************************
651 * ARROWS and SLIDE NUMBERS
652 *********************************************/
653.reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
Marc Kupietz9c036a42024-05-14 13:17:25 +0200654 width: 13px !important; /* size */
655 height: 4px; /* line width */
Marc Kupietz589d1b82023-10-10 12:31:33 +0200656}
657
658.reveal .controls {
659 display: none;
660 position: absolute;
661 top: auto;
662 bottom: -8px;
663 right: 16px;
664 left: auto;
665 z-index: 11;
666 /* color: #000;*/
667 pointer-events: none;
668 font-size: 8px;
669}
670
671.reveal .controls .controls-arrow {
672 position: relative;
673 height: 3.6em;
Marc Kupietz9c036a42024-05-14 13:17:25 +0200674 width: 1.2em; /* distance betwee arrows */
Marc Kupietz589d1b82023-10-10 12:31:33 +0200675 bottom: 0;
676 right: 0;
677}
678
679.reveal div.slide-number {
680 text-align: center;
681 width: 2em;
682 position: absolute;
683 display: block;
684 right: 29px;
685 bottom: 22px;
686 z-index: 31;
687 font-family: "Fira Sans Condensed", sans-serif;
688 font-size: 18px;
689 line-height: 1;
690 background-color: white;
691 color: #666;
692 padding: 0;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200693}