| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 1 | /** |
| 2 | * IDS theme for reveal.js |
| 3 | * |
| 4 | * By Marc Kupietz |
| 5 | */ |
| 6 | @import url("https://code.cdn.mozilla.net/fonts/fira.css"); |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 7 | @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 Kupietz | c22be15 | 2026-08-18 15:54:55 +0200 | [diff] [blame^] | 8 | /* Fira Code: the monospaced Fira Sans variant for highlighted/code text |
| 9 | (as in the IDS reference decks; falls back to Fira Mono from the Mozilla |
| 10 | CSS above, then DejaVu Sans Mono) */ |
| 11 | @import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap"); |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 12 | @import url("https://korap.ids-mannheim.de/font/libertinus.css"); |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 13 | |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 14 | section.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 { |
| 15 | color: #fff; |
| 16 | } |
| 17 | |
| 18 | /********************************************* |
| 19 | * GLOBAL STYLES |
| 20 | *********************************************/ |
| 21 | :root { |
| 22 | --r-background-color: #fff; |
| 23 | --r-main-font: Libertinus Serif, Helvetica, sans-serif; |
| 24 | --r-main-font-size: 42px; |
| 25 | --r-main-color: #222; |
| 26 | --r-block-margin: 20px; |
| 27 | --r-heading-margin: 0 0 20px 0; |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 28 | --r-heading-font: Fira Sans Extra Condensed, Fira Sans Condensed, Fira Sans, Helvetica, sans-serif; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 29 | --r-heading-color: #f6a800; |
| 30 | --r-heading-line-height: 1.2; |
| 31 | --r-heading-letter-spacing: 0.05ex; |
| 32 | --r-heading-text-transform: uppercase; |
| 33 | --r-heading-text-shadow: none; |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 34 | --r-heading-font-weight: 700; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 35 | --r-heading1-text-shadow: none; |
| 36 | --r-heading1-size: 2em; |
| 37 | --r-heading2-size: 1.35em; |
| Marc Kupietz | dc994e2 | 2023-10-07 18:50:18 +0200 | [diff] [blame] | 38 | --r-heading3-size: 0.9em; |
| 39 | --r-heading4-size: 0.7em; |
| Marc Kupietz | c22be15 | 2026-08-18 15:54:55 +0200 | [diff] [blame^] | 40 | --r-code-font: "Fira Code", "Fira Mono", "DejaVu Sans Mono", "Source Code Pro", monospace; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 41 | --r-link-color: #2a76dd; |
| 42 | --r-link-color-dark: #1a53a1; |
| 43 | --r-link-color-hover: #6ca0e8; |
| 44 | --r-selection-background-color: #98bdef; |
| 45 | --r-selection-color: #fff; |
| Marc Kupietz | 9c036a4 | 2024-05-14 13:17:25 +0200 | [diff] [blame] | 46 | --r-overlay-element-bg-color: 240, 240, 240; |
| 47 | --r-overlay-element-fg-color: 0, 0, 0; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | .reveal-viewport { |
| 51 | background: #fff; |
| 52 | background-color: var(--r-background-color); |
| 53 | } |
| 54 | |
| 55 | .reveal { |
| 56 | font-family: var(--r-main-font); |
| 57 | font-size: var(--r-main-font-size); |
| 58 | font-weight: normal; |
| 59 | color: var(--r-main-color); |
| 60 | } |
| 61 | |
| 62 | .reveal ::selection { |
| 63 | color: var(--r-selection-color); |
| 64 | background: var(--r-selection-background-color); |
| 65 | text-shadow: none; |
| 66 | } |
| 67 | |
| 68 | .reveal ::-moz-selection { |
| 69 | color: var(--r-selection-color); |
| 70 | background: var(--r-selection-background-color); |
| 71 | text-shadow: none; |
| 72 | } |
| 73 | |
| 74 | .reveal .slides section, |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 75 | .reveal .slides section>section { |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 76 | line-height: 1.3; |
| 77 | font-weight: inherit; |
| 78 | } |
| 79 | |
| 80 | /********************************************* |
| 81 | * HEADERS |
| 82 | *********************************************/ |
| 83 | .reveal h1, |
| 84 | .reveal h2, |
| 85 | .reveal h3, |
| 86 | .reveal h4, |
| 87 | .reveal h5, |
| 88 | .reveal h6 { |
| 89 | margin: var(--r-heading-margin); |
| 90 | color: var(--r-heading-color); |
| 91 | font-family: var(--r-heading-font); |
| 92 | font-weight: var(--r-heading-font-weight); |
| 93 | line-height: var(--r-heading-line-height); |
| 94 | letter-spacing: var(--r-heading-letter-spacing); |
| 95 | text-transform: var(--r-heading-text-transform); |
| 96 | text-shadow: var(--r-heading-text-shadow); |
| 97 | word-wrap: break-word; |
| 98 | } |
| 99 | |
| 100 | .reveal h1 { |
| 101 | font-size: var(--r-heading1-size); |
| 102 | } |
| 103 | |
| 104 | .reveal h2 { |
| 105 | font-size: var(--r-heading2-size); |
| 106 | } |
| 107 | |
| 108 | .reveal h3 { |
| 109 | font-size: var(--r-heading3-size); |
| 110 | } |
| 111 | |
| 112 | .reveal h4 { |
| 113 | font-size: var(--r-heading4-size); |
| 114 | } |
| 115 | |
| 116 | .reveal h1 { |
| 117 | text-shadow: var(--r-heading1-text-shadow); |
| 118 | } |
| 119 | |
| 120 | /********************************************* |
| 121 | * OTHER |
| 122 | *********************************************/ |
| 123 | .reveal p { |
| 124 | margin: var(--r-block-margin) 0; |
| 125 | line-height: 1.3; |
| 126 | } |
| 127 | |
| 128 | /* Remove trailing margins after titles */ |
| 129 | .reveal h1:last-child, |
| 130 | .reveal h2:last-child, |
| 131 | .reveal h3:last-child, |
| 132 | .reveal h4:last-child, |
| 133 | .reveal h5:last-child, |
| 134 | .reveal h6:last-child { |
| 135 | margin-bottom: 0; |
| 136 | } |
| 137 | |
| 138 | /* Ensure certain elements are never larger than the slide itself */ |
| 139 | .reveal img, |
| 140 | .reveal video, |
| 141 | .reveal iframe { |
| 142 | max-width: 95%; |
| 143 | max-height: 95%; |
| 144 | } |
| 145 | |
| 146 | .reveal strong, |
| 147 | .reveal b { |
| 148 | font-weight: bold; |
| 149 | } |
| 150 | |
| 151 | .reveal em { |
| 152 | font-style: italic; |
| 153 | } |
| 154 | |
| 155 | .reveal ol, |
| 156 | .reveal dl, |
| 157 | .reveal ul { |
| 158 | display: inline-block; |
| 159 | text-align: left; |
| 160 | margin: 0 0 0 1em; |
| 161 | } |
| 162 | |
| 163 | .reveal ol { |
| 164 | list-style-type: decimal; |
| 165 | } |
| 166 | |
| 167 | .reveal ul { |
| 168 | list-style-type: disc; |
| 169 | } |
| 170 | |
| 171 | .reveal ul ul { |
| 172 | list-style-type: square; |
| 173 | } |
| 174 | |
| 175 | .reveal ul ul ul { |
| 176 | list-style-type: circle; |
| 177 | } |
| 178 | |
| 179 | .reveal ul ul, |
| 180 | .reveal ul ol, |
| 181 | .reveal ol ol, |
| 182 | .reveal ol ul { |
| 183 | display: block; |
| 184 | margin-left: 40px; |
| 185 | } |
| 186 | |
| 187 | .reveal dt { |
| 188 | font-weight: bold; |
| 189 | } |
| 190 | |
| 191 | .reveal dd { |
| 192 | margin-left: 40px; |
| 193 | } |
| 194 | |
| 195 | .reveal blockquote { |
| 196 | display: block; |
| 197 | position: relative; |
| 198 | width: 70%; |
| 199 | margin: var(--r-block-margin) auto; |
| 200 | padding: 5px; |
| 201 | font-style: italic; |
| 202 | background: rgba(255, 255, 255, 0.05); |
| 203 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); |
| 204 | } |
| 205 | |
| 206 | .reveal blockquote p:first-child, |
| 207 | .reveal blockquote p:last-child { |
| 208 | display: inline-block; |
| 209 | } |
| 210 | |
| 211 | .reveal q { |
| 212 | font-style: italic; |
| 213 | } |
| 214 | |
| 215 | .reveal pre { |
| 216 | display: block; |
| 217 | position: relative; |
| 218 | width: 90%; |
| 219 | margin: var(--r-block-margin) auto; |
| 220 | text-align: left; |
| 221 | font-size: 0.55em; |
| 222 | font-family: var(--r-code-font); |
| 223 | line-height: 1.2em; |
| 224 | word-wrap: break-word; |
| 225 | box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); |
| 226 | } |
| 227 | |
| 228 | .reveal code { |
| 229 | font-family: var(--r-code-font); |
| 230 | text-transform: none; |
| 231 | tab-size: 2; |
| 232 | } |
| 233 | |
| 234 | .reveal pre code { |
| 235 | display: block; |
| 236 | padding: 5px; |
| 237 | overflow: auto; |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 238 | max-height: 540px; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 239 | word-wrap: normal; |
| 240 | } |
| 241 | |
| 242 | .reveal .code-wrapper { |
| 243 | white-space: normal; |
| 244 | } |
| 245 | |
| 246 | .reveal .code-wrapper code { |
| 247 | white-space: pre; |
| 248 | } |
| 249 | |
| 250 | .reveal table { |
| 251 | margin: auto; |
| 252 | border-collapse: collapse; |
| 253 | border-spacing: 0; |
| 254 | } |
| 255 | |
| 256 | .reveal table th { |
| 257 | font-weight: bold; |
| 258 | } |
| 259 | |
| 260 | .reveal table th, |
| 261 | .reveal table td { |
| 262 | text-align: left; |
| 263 | padding: 0.2em 0.5em 0.2em 0.5em; |
| 264 | border-bottom: 1px solid; |
| 265 | } |
| 266 | |
| 267 | .reveal table th[align=center], |
| 268 | .reveal table td[align=center] { |
| 269 | text-align: center; |
| 270 | } |
| 271 | |
| 272 | .reveal table th[align=right], |
| 273 | .reveal table td[align=right] { |
| 274 | text-align: right; |
| 275 | } |
| 276 | |
| 277 | .reveal table tbody tr:last-child th, |
| 278 | .reveal table tbody tr:last-child td { |
| 279 | border-bottom: none; |
| 280 | } |
| 281 | |
| 282 | .reveal sup { |
| 283 | vertical-align: super; |
| 284 | font-size: smaller; |
| 285 | } |
| 286 | |
| 287 | .reveal sub { |
| 288 | vertical-align: sub; |
| 289 | font-size: smaller; |
| 290 | } |
| 291 | |
| 292 | .reveal small { |
| 293 | display: inline-block; |
| 294 | font-size: 0.6em; |
| 295 | line-height: 1.2em; |
| 296 | vertical-align: top; |
| 297 | } |
| 298 | |
| 299 | .reveal small * { |
| 300 | vertical-align: top; |
| 301 | } |
| 302 | |
| 303 | .reveal img { |
| 304 | margin: var(--r-block-margin) 0; |
| 305 | } |
| 306 | |
| 307 | /********************************************* |
| 308 | * LINKS |
| 309 | *********************************************/ |
| 310 | .reveal a { |
| 311 | color: var(--r-link-color); |
| 312 | text-decoration: none; |
| 313 | transition: color 0.15s ease; |
| 314 | } |
| 315 | |
| 316 | .reveal a:hover { |
| 317 | color: var(--r-link-color-hover); |
| 318 | text-shadow: none; |
| 319 | border: none; |
| 320 | } |
| 321 | |
| 322 | .reveal .roll span:after { |
| 323 | color: #fff; |
| 324 | background: var(--r-link-color-dark); |
| 325 | } |
| 326 | |
| 327 | /********************************************* |
| 328 | * Frame helper |
| 329 | *********************************************/ |
| 330 | .reveal .r-frame { |
| 331 | border: 4px solid var(--r-main-color); |
| 332 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); |
| 333 | } |
| 334 | |
| 335 | .reveal a .r-frame { |
| 336 | transition: all 0.15s linear; |
| 337 | } |
| 338 | |
| 339 | .reveal a:hover .r-frame { |
| 340 | border-color: var(--r-link-color); |
| 341 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); |
| 342 | } |
| 343 | |
| 344 | /********************************************* |
| 345 | * NAVIGATION CONTROLS |
| 346 | *********************************************/ |
| 347 | .reveal .controls { |
| 348 | color: var(--r-link-color); |
| 349 | } |
| 350 | |
| 351 | /********************************************* |
| 352 | * PROGRESS BAR |
| 353 | *********************************************/ |
| 354 | .reveal .progress { |
| 355 | background: rgba(0, 0, 0, 0.2); |
| 356 | color: var(--r-link-color); |
| 357 | } |
| 358 | |
| 359 | /********************************************* |
| 360 | * PRINT BACKGROUND |
| 361 | *********************************************/ |
| 362 | @media print { |
| 363 | .backgrounds { |
| 364 | background-color: var(--r-background-color); |
| 365 | } |
| 366 | } |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 367 | |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 368 | .reveal .slides section:not(.stack) { |
| 369 | box-sizing: border-box !important; |
| 370 | padding-left: calc(calc(var(--slide-height) * 0.05) + 24px) !important; |
| 371 | padding-right: calc(calc(var(--slide-height) * 0.05) + 24px) !important; |
| 372 | } |
| 373 | |
| 374 | .reveal .slides section:not(.stack):not(.title-frame) { |
| 375 | text-align: left !important; |
| 376 | } |
| 377 | |
| Marc Kupietz | e082686 | 2026-08-11 16:34:54 +0200 | [diff] [blame] | 378 | /* The markers are NOT native ::marker glyphs: browsers anchor outside-position |
| 379 | markers at slightly different offsets per engine (and per scale), and even |
| 380 | ::before font glyphs carry font-specific side bearings, so a padding(text)- |
| 381 | based alignment of the bullet column with the heading text can never be |
| 382 | pixel-exact everywhere. Instead we DRAW the markers as CSS boxes in |
| 383 | absolutely positioned li::before rules. Geometry (all values in the item's |
| 384 | own font size, so the hierarchy scales with the 0.8em per-level sizing): |
| 385 | |
| 386 | - item text starts at (list left edge) + 0.65em |
| 387 | - the marker box starts exactly at the list's left edge; on content |
| 388 | slides that edge coincides with the heading text's left edge, i.e. the |
| 389 | bullet column is flush with the slide title, deterministically in every |
| 390 | browser and at every window size |
| 391 | |
| 392 | For nested lists the ::before offset is divided by the 0.8 font-size factor, |
| 393 | because the list's padding is computed in the PARENT item's font size while |
| 394 | the ::before offset is computed in the (smaller) child size. */ |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 395 | .reveal .slides section:not(.title-frame) ul, |
| 396 | .reveal .slides section:not(.title-frame) ol { |
| 397 | display: block !important; |
| 398 | text-align: left !important; |
| 399 | margin-left: 0 !important; |
| Marc Kupietz | e082686 | 2026-08-11 16:34:54 +0200 | [diff] [blame] | 400 | padding-left: 0.65em !important; |
| 401 | list-style: none !important; |
| 402 | } |
| 403 | |
| 404 | .reveal .slides section:not(.title-frame) li { |
| 405 | position: relative !important; |
| 406 | } |
| 407 | |
| 408 | .reveal .slides section:not(.title-frame) li::before { |
| 409 | position: absolute !important; |
| 410 | left: -0.65em !important; |
| 411 | color: var(--r-list-bullet-color) !important; |
| 412 | } |
| 413 | |
| 414 | .reveal .slides section:not(.title-frame) li li::before { |
| 415 | left: -0.8125em !important; |
| 416 | } |
| 417 | |
| 418 | /* Unordered-list markers: drawn boxes (round dot, square, ring for deeper |
| 419 | levels), vertically centered on the item's first line. */ |
| 420 | .reveal .slides section:not(.title-frame) ul > li::before { |
| 421 | content: "" !important; |
| 422 | top: calc((1.3em - 0.22em) / 2) !important; |
| 423 | width: 0.22em !important; |
| 424 | height: 0.22em !important; |
| 425 | box-sizing: border-box !important; |
| 426 | border-radius: 50% !important; |
| 427 | background: var(--r-list-bullet-color) !important; |
| 428 | } |
| 429 | |
| 430 | .reveal .slides section:not(.title-frame) ul ul > li::before { |
| 431 | border-radius: 0 !important; /* square */ |
| 432 | } |
| 433 | |
| 434 | .reveal .slides section:not(.title-frame) ul ul ul > li::before { |
| 435 | background: transparent !important; /* ring */ |
| 436 | border: 0.055em solid var(--r-list-bullet-color) !important; |
| 437 | border-radius: 50% !important; |
| 438 | } |
| 439 | |
| 440 | /* Ordered lists: the CSS list-item counter honours the HTML start/value |
| 441 | attributes, so pandoc's start/value lists keep their numbers. Numbers are |
| 442 | right-aligned into the indent, ending just before the item text. */ |
| 443 | .reveal .slides section:not(.title-frame) ol > li::before { |
| 444 | content: counter(list-item, decimal) "." !important; |
| 445 | width: 0.53em !important; |
| 446 | text-align: right !important; |
| 447 | } |
| 448 | |
| 449 | /* Checkbox (pandoc task) lists keep their checkboxes, no bullets on top. */ |
| 450 | .reveal .slides section:not(.title-frame) ul.task-list li::before { |
| 451 | content: none !important; |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 452 | } |
| 453 | |
| 454 | .reveal .slides section:not(.title-frame) pre { |
| 455 | width: auto !important; |
| 456 | margin-left: 0 !important; |
| 457 | margin-right: 0 !important; |
| 458 | } |
| 459 | |
| 460 | .reveal .slides { |
| 461 | background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg"); |
| 462 | background-repeat: no-repeat; |
| 463 | background-position: top 10px right 8px; |
| 464 | background-size: calc(var(--slide-height) * 0.25) auto; |
| 465 | } |
| 466 | |
| 467 | .reveal .slides section:not(.title-frame) > h1:first-child, |
| 468 | .reveal .slides section:not(.title-frame) > h2:first-child { |
| 469 | position: relative !important; |
| 470 | display: block !important; |
| 471 | text-align: left !important; |
| 472 | margin: 0 calc(-1 * calc(calc(var(--slide-height) * 0.05) + 24px)) 8px calc(-1 * calc(calc(var(--slide-height) * 0.05) + 24px)) !important; |
| 473 | padding: 0 0 0 calc(calc(var(--slide-height) * 0.05) + 24px) !important; |
| 474 | font-weight: var(--r-heading-font-weight) !important; |
| 475 | } |
| 476 | |
| 477 | .reveal .slides section:not(.title-frame) > h1:first-child::before, |
| 478 | .reveal .slides section:not(.title-frame) > h2:first-child::before, |
| 479 | .reveal .slides section:not(.title-frame) > h2:first-child + h3::before { |
| 480 | content: "" !important; |
| 481 | position: absolute !important; |
| 482 | width: calc(var(--slide-height) * 0.05) !important; |
| 483 | background: #f6a800 !important; |
| 484 | } |
| 485 | |
| 486 | .reveal .slides section:not(.title-frame) > h1:first-child::before, |
| 487 | .reveal .slides section:not(.title-frame) > h2:first-child::before { |
| 488 | top: 0 !important; |
| 489 | left: calc(-1 * var(--ids-band-left, 0px)) !important; |
| 490 | height: 100% !important; |
| 491 | } |
| 492 | |
| 493 | .reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3)), |
| 494 | .reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3)) { |
| 495 | margin-bottom: calc(8px + 45.36px + 20px) !important; |
| 496 | } |
| 497 | |
| 498 | .reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3))::before, |
| 499 | .reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3))::before { |
| 500 | height: calc(100% + 8px + 45.36px) !important; |
| 501 | } |
| 502 | |
| 503 | .reveal .slides section:not(.title-frame) > h2:first-child + h3 { |
| 504 | position: relative !important; |
| 505 | text-align: left !important; |
| 506 | margin-top: 0 !important; |
| 507 | margin-left: 0 !important; |
| 508 | margin-bottom: 20px !important; |
| 509 | } |
| 510 | |
| 511 | .reveal .slides section:not(.title-frame) > h2:first-child + h3::before { |
| 512 | top: calc(-1 * (8px + 2px)) !important; |
| 513 | left: calc(-1 * (calc(calc(var(--slide-height) * 0.05) + 24px) + var(--ids-band-left, 0px))) !important; |
| 514 | height: calc(100% + 8px + 2px) !important; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 515 | } |
| 516 | |
| Marc Kupietz | 55c9cef | 2026-08-08 16:03:06 +0200 | [diff] [blame] | 517 | .reveal .slides section.level1:not(.title-frame) { |
| 518 | height: 100% !important; |
| 519 | display: flex !important; |
| 520 | flex-direction: column !important; |
| 521 | justify-content: center !important; |
| 522 | } |
| 523 | |
| 524 | .reveal .slides section.level1:not(.title-frame)::before { |
| 525 | content: "" !important; |
| 526 | position: absolute !important; |
| 527 | top: 0 !important; |
| 528 | left: calc(-1 * var(--ids-band-left, 0px)) !important; |
| 529 | width: calc(var(--slide-height) * 0.05) !important; |
| 530 | height: 121.4px !important; |
| 531 | background: #f6a800 !important; |
| 532 | } |
| 533 | |
| 534 | .reveal .slides section.level1:not(.title-frame) > h1:first-child { |
| 535 | text-align: center !important; |
| 536 | margin: 0 !important; |
| 537 | padding: 0 !important; |
| 538 | } |
| 539 | |
| 540 | .reveal .slides section.level1:not(.title-frame) > h1:first-child::before { |
| 541 | content: none !important; |
| 542 | } |
| 543 | |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 544 | :root { |
| 545 | --r-bold-color: #f6a800; |
| 546 | --r-list-bullet-color: #f6a800; |
| 547 | } |
| 548 | |
| 549 | .reveal strong, .reveal b { |
| 550 | color: var(--r-bold-color); |
| 551 | } |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 552 | |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 553 | .reveal ul li::marker, .reveal ol li::marker { |
| 554 | color: var(--r-list-bullet-color) !important; |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 555 | } |
| 556 | |
| Marc Kupietz | 281ba9c | 2026-08-11 15:37:48 +0200 | [diff] [blame] | 557 | /* Nested list items are set progressively smaller, both to emphasise the |
| 558 | hierarchy and to keep deeply nested lists from visually competing with the |
| 559 | first level. The em size compounds down the nesting levels, so each deeper |
| 560 | level is 80% of its parent (level 2: 80%, level 3: 64%, level 4: 51%). |
| 561 | Markers and the hanging indentation scale with the text automatically. */ |
| 562 | .reveal li li { |
| 563 | font-size: 0.8em; |
| 564 | } |
| 565 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 566 | /********************************************* |
| 567 | * FOOTER |
| 568 | *********************************************/ |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 569 | #ids-footer:not(title-slide) { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 570 | opacity: 1; |
| 571 | background: white; |
| 572 | color: #444444; |
| 573 | border-top: dotted orange 2px; |
| 574 | transition: opacity 800ms ease-in-out; |
| 575 | position: fixed; |
| 576 | height: 6%; |
| 577 | line-height: 6%; |
| 578 | z-index: -20; |
| 579 | width: 100%; |
| 580 | letter-spacing: 0em; |
| 581 | text-align: center; |
| 582 | display: table; |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 583 | } |
| 584 | |
| 585 | #ids-footer span { |
| 586 | height: 100%; |
| 587 | line-height: 100%; |
| 588 | z-index: -20; |
| Marc Kupietz | 5a45790 | 2024-05-14 22:11:43 +0200 | [diff] [blame] | 589 | font-size: 1.8vh; |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 590 | font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", "League Gothic", Impact, sans-serif; |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 591 | display: inline-block; |
| 592 | display: table-cell; |
| 593 | vertical-align: middle; |
| 594 | } |
| 595 | |
| 596 | /* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */ |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 597 | div.progress[style="display: block;"]~#ids-footer { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 598 | bottom: calc(3px + 0vh); |
| 599 | } |
| 600 | |
| 601 | /* Bottom position for the IDS-Footer footer when TOC-Progress is visible */ |
| 602 | #ids-footer { |
| 603 | bottom: 3px; |
| 604 | } |
| 605 | |
| 606 | #ids-footer a { |
| 607 | color: #555555; |
| 608 | } |
| 609 | |
| 610 | /* Bottom position for the IDS-Footer footer when progress bar is visible */ |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 611 | div.progress[style="display: block;"]~footer:last-of-type#ids-footer { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 612 | bottom: 3px; |
| 613 | } |
| 614 | |
| 615 | /* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */ |
| 616 | footer:last-of-type#ids-footer { |
| 617 | bottom: 0px; |
| 618 | } |
| 619 | |
| 620 | /* Make IDS-Footer invisible if explicitly indicated */ |
| 621 | .no-ids-footer #ids-footer { |
| 622 | opacity: 0; |
| 623 | transition: opacity 800ms ease-in-out; |
| 624 | } |
| 625 | |
| 626 | .title-frame #ids-footer { |
| 627 | opacity: 0; |
| 628 | transition: opacity 800ms ease-in-out; |
| 629 | } |
| 630 | |
| 631 | .no-toc-progress #ids-footer { |
| 632 | opacity: 0; |
| 633 | transition: opacity 800ms ease-in-out; |
| 634 | } |
| 635 | |
| 636 | /* Make IDS-Footer invisible in overview mode */ |
| 637 | .overview #ids-footer { |
| 638 | opacity: 0; |
| 639 | transition: opacity 800ms ease-in-out; |
| 640 | } |
| 641 | |
| Marc Kupietz | 6771559 | 2026-08-15 14:55:18 +0200 | [diff] [blame] | 642 | /* Pinned to the title slide's true bottom-right corner (painted on the slide, |
| 643 | not the unscaled viewport). Its margin mirrors the IDS logo's (top 10px / |
| 644 | right 8px of the slide), so the two sit on one shared inset. */ |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame] | 645 | .reveal .slides section.title-frame { |
| 646 | background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg"); |
| Marc Kupietz | f0ce032 | 2023-10-07 15:33:47 +0200 | [diff] [blame] | 647 | background-repeat: no-repeat; |
| Marc Kupietz | 6771559 | 2026-08-15 14:55:18 +0200 | [diff] [blame] | 648 | background-position: right 8px bottom 10px; |
| 649 | background-size: calc(var(--slide-height) * 0.1) auto; |
| 650 | /* full slide height, so "bottom" really is the slide's bottom edge */ |
| 651 | height: 100%; |
| Marc Kupietz | 5a45790 | 2024-05-14 22:11:43 +0200 | [diff] [blame] | 652 | } |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 653 | |
| Marc Kupietz | f0ce032 | 2023-10-07 15:33:47 +0200 | [diff] [blame] | 654 | .slide-menu-items, .slide-menu-toolbar { |
| 655 | font-family: "Fira Sans" !important; |
| 656 | } |
| 657 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 658 | /* |
| 659 | * Menu controls |
| 660 | */ |
| 661 | body .reveal .slide-menu-button { |
| 662 | color: #aaaaaa !important; |
| 663 | position: fixed; |
| 664 | left: 30px; |
| 665 | bottom: 2%; |
| 666 | vertical-align: middle; |
| 667 | z-index: 30; |
| 668 | font-size: 2vh; |
| 669 | } |
| 670 | |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 671 | #customcontrols>ul { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 672 | color: #aaaaaa !important; |
| 673 | position: fixed; |
| Marc Kupietz | f51e915 | 2023-10-07 15:32:33 +0200 | [diff] [blame] | 674 | left: 50px; |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 675 | bottom: 2% !important; |
| 676 | vertical-align: middle; |
| 677 | z-index: 30; |
| 678 | font-size: 2vh; |
| 679 | } |
| 680 | |
| 681 | @media only screen and (min-width: 500px) { |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 682 | #customcontrols>ul { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 683 | bottom: 2% !important; |
| 684 | } |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 685 | } |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 686 | |
| Marc Kupietz | c7249f9 | 2023-10-10 07:16:50 +0200 | [diff] [blame] | 687 | .reveal .controls .controls-arrow { |
| 688 | position: relative; |
| 689 | width: 3.6em; |
| 690 | height: 3.6em; |
| 691 | bottom: -12px; |
| 692 | right: -4px; |
| 693 | } |
| 694 | |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 695 | .reveal h3, h4, h5, h6 { |
| 696 | text-transform: none !important; |
| 697 | } |
| 698 | |
| 699 | .reveal h3, h4, h5, h6 { |
| 700 | text-transform: none !important; |
| 701 | } |
| 702 | |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 703 | .reveal h2+h3 { |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 704 | margin-top: -0.5em !important; |
| 705 | } |
| 706 | |
| 707 | .title-frame h1, |
| 708 | .title-frame h2 { |
| 709 | margin: 0 0 0 0; |
| Marc Kupietz | 9c036a4 | 2024-05-14 13:17:25 +0200 | [diff] [blame] | 710 | background: rgb(246, 168, 0); |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 711 | color: white; |
| 712 | font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif; |
| 713 | font-weight: 600; |
| 714 | line-height: 1.2; |
| 715 | letter-spacing: 0.05ex; |
| 716 | text-transform: uppercase; |
| 717 | width: 100%; |
| 718 | margin-top: 0.5em; |
| 719 | padding-top: 0.5em; |
| 720 | font-size: 1.75em; |
| 721 | margin-left: 0; |
| 722 | text-align: center; |
| 723 | text-shadow: none; |
| 724 | word-wrap: break-word; |
| 725 | } |
| 726 | |
| 727 | .title-frame .author { |
| 728 | font-family: "Fira Sans Condensed", sans-serif; |
| 729 | font-weight: 400; |
| 730 | color: #657b83; |
| 731 | margin-top: 10vh; |
| 732 | } |
| 733 | |
| 734 | .title-frame .place { |
| 735 | font-family: "Fira Sans Condensed", sans-serif; |
| 736 | margin-top: 40px; |
| 737 | font-weight: 400; |
| 738 | color: #657b83; |
| 739 | } |
| 740 | |
| 741 | .title-frame h2 { |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 742 | margin-top: -3px; |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 743 | margin-bottom: 1em; |
| 744 | padding-bottom: 0.5em; |
| 745 | font-size: 1em; |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 746 | } |
| 747 | |
| 748 | /********************************************* |
| 749 | * TABLES |
| 750 | *********************************************/ |
| 751 | th { |
| Marc Kupietz | 9c036a4 | 2024-05-14 13:17:25 +0200 | [diff] [blame] | 752 | color: rgb(246, 168, 0); |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 753 | } |
| 754 | |
| 755 | table { |
| 756 | font-family: "Fira Sans Condensed", sans-serif; |
| 757 | font-weight: 400; |
| 758 | font-size: 16px; |
| 759 | } |
| 760 | |
| 761 | .reveal table.dataTable { |
| 762 | border: #aaaaaa 1px solid; |
| 763 | border-collapse: collapse; |
| 764 | } |
| 765 | |
| 766 | .reveal table.dataTable td { |
| 767 | border: #aaaaaa 1px solid; |
| 768 | border-collapse: collapse; |
| 769 | } |
| 770 | |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 771 | .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 { |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 772 | display: none; |
| 773 | } |
| 774 | |
| 775 | .caption { |
| 776 | font-family: "Fira Sans Condensed", sans-serif; |
| 777 | font-weight: 400; |
| 778 | font-size: 16px; |
| 779 | text-align: center; |
| 780 | } |
| 781 | |
| 782 | /* |
| 783 | table.display td { white-space: nowrap; } |
| 784 | */ |
| 785 | .dt-buttons, .dataTables_filter { |
| 786 | margin-top: 10pt; |
| 787 | } |
| 788 | |
| Marc Kupietz | 069f1e4 | 2023-10-11 10:26:16 +0200 | [diff] [blame] | 789 | /* Sort Arrows in DataTables */ |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 790 | 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 { |
| Marc Kupietz | 069f1e4 | 2023-10-11 10:26:16 +0200 | [diff] [blame] | 791 | right: 0 !important; |
| 792 | line-height: 80% !important; |
| 793 | } |
| 794 | |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 795 | /********************************************* |
| 796 | * BIBLIOGRAPHY |
| 797 | *********************************************/ |
| 798 | .reveal .references { |
| 799 | font-family: "Fira Sans Condensed", sans-serif; |
| 800 | font-size: 16px; |
| 801 | text-align: left; |
| 802 | margin-top: 35px; |
| 803 | max-height: 540px; |
| 804 | font-weight: 400; |
| 805 | color: #253b43; |
| 806 | overflow-y: auto; |
| 807 | } |
| 808 | |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 809 | .hanging-indent>.csl-entry { |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 810 | padding-left: 22px; |
| 811 | text-indent: -22px; |
| 812 | } |
| 813 | |
| Marc Kupietz | 21f526c | 2026-08-14 12:32:56 +0200 | [diff] [blame] | 814 | /* .references scopes this above pandoc's CSL defaults (div.csl-entry), which |
| 815 | otherwise win on specificity and pin margin-bottom to 0em. */ |
| 816 | .references .csl-entry { |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 817 | color: #888888; |
| Marc Kupietz | 21f526c | 2026-08-14 12:32:56 +0200 | [diff] [blame] | 818 | margin-bottom: 0.5em; |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 819 | } |
| 820 | |
| Marc Kupietz | 21f526c | 2026-08-14 12:32:56 +0200 | [diff] [blame] | 821 | /* "Authors (Year):" as a bold dark first line; the theme template's JS wraps |
| 822 | the leading text of each entry in .csl-authors-year (see default.html) -- |
| 823 | which part of an entry citeproc wraps in spans depends on the entry type, so |
| 824 | a CSS-only break cannot place it reliably. */ |
| 825 | .csl-entry .csl-authors-year { |
| 826 | display: block; |
| 827 | font-weight: bold; |
| 828 | color: #4d616b; |
| Marc Kupietz | 1179716 | 2023-10-09 23:17:36 +0200 | [diff] [blame] | 829 | } |
| 830 | |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 831 | .reveal code.sourceCode:last-child+pre { |
| Marc Kupietz | 1179716 | 2023-10-09 23:17:36 +0200 | [diff] [blame] | 832 | height: 800px !important; |
| Marc Kupietz | 589d1b8 | 2023-10-10 12:31:33 +0200 | [diff] [blame] | 833 | } |
| 834 | |
| 835 | /********************************************* |
| 836 | * ARROWS and SLIDE NUMBERS |
| 837 | *********************************************/ |
| 838 | .reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before { |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 839 | width: 13px !important; |
| 840 | /* size */ |
| 841 | height: 4px; |
| 842 | /* line width */ |
| Marc Kupietz | 589d1b8 | 2023-10-10 12:31:33 +0200 | [diff] [blame] | 843 | } |
| 844 | |
| 845 | .reveal .controls { |
| 846 | display: none; |
| 847 | position: absolute; |
| 848 | top: auto; |
| 849 | bottom: -8px; |
| 850 | right: 16px; |
| 851 | left: auto; |
| 852 | z-index: 11; |
| 853 | /* color: #000;*/ |
| 854 | pointer-events: none; |
| 855 | font-size: 8px; |
| 856 | } |
| 857 | |
| 858 | .reveal .controls .controls-arrow { |
| 859 | position: relative; |
| 860 | height: 3.6em; |
| Marc Kupietz | 026356a | 2025-09-02 11:49:58 +0200 | [diff] [blame] | 861 | width: 1.2em; |
| 862 | /* distance betwee arrows */ |
| Marc Kupietz | 589d1b8 | 2023-10-10 12:31:33 +0200 | [diff] [blame] | 863 | bottom: 0; |
| 864 | right: 0; |
| 865 | } |
| 866 | |
| 867 | .reveal div.slide-number { |
| 868 | text-align: center; |
| 869 | width: 2em; |
| 870 | position: absolute; |
| 871 | display: block; |
| 872 | right: 29px; |
| 873 | bottom: 22px; |
| 874 | z-index: 31; |
| 875 | font-family: "Fira Sans Condensed", sans-serif; |
| 876 | font-size: 18px; |
| 877 | line-height: 1; |
| 878 | background-color: white; |
| 879 | color: #666; |
| 880 | padding: 0; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 881 | } |