blob: 7bdf039083429326abf68aab1f2de55f06858d02 [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 Kupietz5a457902024-05-14 22:11:43 +0200457.title-frame .slide-number {
458 opacity: 0 !important;
459 transition: opacity 800ms ease-in-out;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200460 display: none !important;
461}
462
Marc Kupietz5a457902024-05-14 22:11:43 +0200463.title-frame .controls .controls-arrow {
464 opacity: 0 !important;
465 display: none !important;
466 z-index: 0;
467}
468
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200469.title-frame div.slide-background-content {
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200470 text-align: right !important;
471 background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important;
472 background-repeat: no-repeat;
Marc Kupietz5a457902024-05-14 22:11:43 +0200473 background-position: right 15px bottom 5px !important;
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200474 background-size: 7vH auto !important;
475}
476
Marc Kupietz5a457902024-05-14 22:11:43 +0200477@media only screen {
478 .title-frame div.slide-background-content {
479 background-position: right 45px bottom 5px !important;
480 }
481}
Marc Kupietzf0ce0322023-10-07 15:33:47 +0200482.slide-menu-items, .slide-menu-toolbar {
483 font-family: "Fira Sans" !important;
484}
485
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200486/*
487 * Menu controls
488 */
489body .reveal .slide-menu-button {
490 color: #aaaaaa !important;
491 position: fixed;
492 left: 30px;
493 bottom: 2%;
494 vertical-align: middle;
495 z-index: 30;
496 font-size: 2vh;
497}
498
499#customcontrols > ul {
500 color: #aaaaaa !important;
501 position: fixed;
Marc Kupietzf51e9152023-10-07 15:32:33 +0200502 left: 50px;
Marc Kupietz7c8f7de2023-10-07 11:42:29 +0200503 bottom: 2% !important;
504 vertical-align: middle;
505 z-index: 30;
506 font-size: 2vh;
507}
508
509@media only screen and (min-width: 500px) {
510 #customcontrols > ul {
511 bottom: 2% !important;
512 }
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200513}
Marc Kupietzc7249f92023-10-10 07:16:50 +0200514.reveal .controls .controls-arrow {
515 position: relative;
516 width: 3.6em;
517 height: 3.6em;
518 bottom: -12px;
519 right: -4px;
520}
521
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200522.reveal h3, h4, h5, h6 {
523 text-transform: none !important;
524}
525
526.reveal h3, h4, h5, h6 {
527 text-transform: none !important;
528}
529
530.reveal h2 + h3 {
531 margin-top: -0.5em !important;
532}
533
Marc Kupietzfac437e2023-10-09 23:16:38 +0200534.reveal h1:last-child {
535 margin-top: 250px;
536}
537
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200538.title-frame h1,
539.title-frame h2 {
540 margin: 0 0 0 0;
Marc Kupietz9c036a42024-05-14 13:17:25 +0200541 background: rgb(246, 168, 0);
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200542 color: white;
543 font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif;
544 font-weight: 600;
545 line-height: 1.2;
546 letter-spacing: 0.05ex;
547 text-transform: uppercase;
548 width: 100%;
549 margin-top: 0.5em;
550 padding-top: 0.5em;
551 font-size: 1.75em;
552 margin-left: 0;
553 text-align: center;
554 text-shadow: none;
555 word-wrap: break-word;
556}
557
558.title-frame .author {
559 font-family: "Fira Sans Condensed", sans-serif;
560 font-weight: 400;
561 color: #657b83;
562 margin-top: 10vh;
563}
564
565.title-frame .place {
566 font-family: "Fira Sans Condensed", sans-serif;
567 margin-top: 40px;
568 font-weight: 400;
569 color: #657b83;
570}
571
572.title-frame h2 {
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200573 margin-top: -3px;
Marc Kupietzdf0eda92023-10-07 20:50:00 +0200574 margin-bottom: 1em;
575 padding-bottom: 0.5em;
576 font-size: 1em;
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200577}
578
579/*********************************************
580 * TABLES
581 *********************************************/
582th {
Marc Kupietz9c036a42024-05-14 13:17:25 +0200583 color: rgb(246, 168, 0);
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200584}
585
586table {
587 font-family: "Fira Sans Condensed", sans-serif;
588 font-weight: 400;
589 font-size: 16px;
590}
591
592.reveal table.dataTable {
593 border: #aaaaaa 1px solid;
594 border-collapse: collapse;
595}
596
597.reveal table.dataTable td {
598 border: #aaaaaa 1px solid;
599 border-collapse: collapse;
600}
601
602.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 {
603 display: none;
604}
605
606.caption {
607 font-family: "Fira Sans Condensed", sans-serif;
608 font-weight: 400;
609 font-size: 16px;
610 text-align: center;
611}
612
613/*
614table.display td { white-space: nowrap; }
615*/
616.dt-buttons, .dataTables_filter {
617 margin-top: 10pt;
618}
619
Marc Kupietz069f1e42023-10-11 10:26:16 +0200620/* Sort Arrows in DataTables */
621table.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 {
622 right: 0 !important;
623 line-height: 80% !important;
624}
625
Marc Kupietz0a3c2e52023-10-08 20:20:43 +0200626/*********************************************
627 * BIBLIOGRAPHY
628 *********************************************/
629.reveal .references {
630 font-family: "Fira Sans Condensed", sans-serif;
631 font-size: 16px;
632 text-align: left;
633 margin-top: 35px;
634 max-height: 540px;
635 font-weight: 400;
636 color: #253b43;
637 overflow-y: auto;
638}
639
640.hanging-indent > .csl-entry {
641 padding-left: 22px;
642 text-indent: -22px;
643}
644
645.csl-entry::first-line {
646 color: #253b43;
647}
648
649.csl-entry {
650 color: #888888;
651}
652
653/* Add line break after authors and year*/
654.csl-entry :first-child::before {
655 content: "\a";
656 white-space: pre;
Marc Kupietz11797162023-10-09 23:17:36 +0200657}
658
659.reveal code.sourceCode:last-child + pre {
660 height: 800px !important;
Marc Kupietz589d1b82023-10-10 12:31:33 +0200661}
662
663/*********************************************
664 * ARROWS and SLIDE NUMBERS
665 *********************************************/
666.reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
Marc Kupietz9c036a42024-05-14 13:17:25 +0200667 width: 13px !important; /* size */
668 height: 4px; /* line width */
Marc Kupietz589d1b82023-10-10 12:31:33 +0200669}
670
671.reveal .controls {
672 display: none;
673 position: absolute;
674 top: auto;
675 bottom: -8px;
676 right: 16px;
677 left: auto;
678 z-index: 11;
679 /* color: #000;*/
680 pointer-events: none;
681 font-size: 8px;
682}
683
684.reveal .controls .controls-arrow {
685 position: relative;
686 height: 3.6em;
Marc Kupietz9c036a42024-05-14 13:17:25 +0200687 width: 1.2em; /* distance betwee arrows */
Marc Kupietz589d1b82023-10-10 12:31:33 +0200688 bottom: 0;
689 right: 0;
690}
691
692.reveal div.slide-number {
693 text-align: center;
694 width: 2em;
695 position: absolute;
696 display: block;
697 right: 29px;
698 bottom: 22px;
699 z-index: 31;
700 font-family: "Fira Sans Condensed", sans-serif;
701 font-size: 18px;
702 line-height: 1;
703 background-color: white;
704 color: #666;
705 padding: 0;
Marc Kupietza737b1b2023-10-07 09:32:20 +0200706}