| 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 | |
| 7 | |
| 8 | // Default mixins and settings ----------------- |
| 9 | @import "../template/mixins"; |
| 10 | @import "../template/settings"; |
| 11 | // --------------------------------------------- |
| 12 | |
| 13 | |
| 14 | // Include theme-specific fonts |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 15 | // NB: https://korap.ids-mannheim.de/font/{fira-condensed,libertinus}.css both |
| 16 | // return 404, so the condensed and bold faces never loaded and headings fell |
| 17 | // back to a regular-width, regular-weight face. Google Fonts serves the real |
| 18 | // Fira Sans Condensed incl. weights 700/800 (this is where the IDS reference |
| 19 | // decks get it from too); the others are kept for locally installed copies. |
| 20 | @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 | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 21 | @import url('https://code.cdn.mozilla.net/fonts/fira.css'); |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 22 | @import url('https://korap.ids-mannheim.de/font/libertinus.css'); |
| 23 | |
| 24 | $idsOrange: #f6a800; |
| 25 | |
| 26 | // Override theme settings (see ../template/settings.scss) |
| 27 | $backgroundColor: #fff; |
| 28 | |
| 29 | $mainColor: #222; |
| 30 | $headingColor: $idsOrange; |
| 31 | |
| 32 | $mainFontSize: 42px; |
| 33 | $mainFont: 'Libertinus Serif', Helvetica, sans-serif; |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 34 | $headingFont: 'Fira Sans Extra Condensed', 'Fira Sans Condensed', 'Fira Sans', Helvetica, sans-serif; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 35 | $headingTextShadow: none; |
| 36 | $headingLetterSpacing: 0.05ex; |
| 37 | $headingTextTransform: uppercase; |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 38 | $headingFontWeight: 700; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 39 | $linkColor: #2a76dd; |
| 40 | $linkColorHover: lighten( $linkColor, 15% ); |
| 41 | $selectionBackgroundColor: lighten( $linkColor, 25% ); |
| 42 | |
| 43 | $heading1Size: 2em; |
| 44 | $heading2Size: 1.35em; |
| Marc Kupietz | 3fdee73 | 2023-10-07 18:52:20 +0200 | [diff] [blame] | 45 | $heading3Size: 0.9em; |
| 46 | $heading4Size: 0.7em; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 47 | |
| 48 | $listBulletColor: $idsOrange; |
| 49 | |
| 50 | // Change text colors against dark slide backgrounds |
| 51 | @include dark-bg-text-color(#fff); |
| 52 | |
| 53 | |
| 54 | // Theme template ------------------------------ |
| 55 | @import "../template/theme"; |
| 56 | // --------------------------------------------- |
| 57 | |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 58 | // Bar/logo sizes, expressed as fractions of the slide's own height (reveal.js |
| 59 | // exposes the configured slide size as --slide-width / --slide-height custom |
| 60 | // properties). Sizing relative to the slide rather than the raw viewport (vh |
| 61 | // units) keeps things pinned to the true slide edges instead of drifting |
| 62 | // into the letter-/pillarboxed margins when the window's aspect ratio |
| 63 | // doesn't exactly match the configured one. |
| 64 | $idsBarWidthRatio: 0.05; |
| 65 | $idsLogoWidthRatio: 0.25; |
| 66 | $idsBarWidth: calc(var(--slide-height) * #{$idsBarWidthRatio}); |
| 67 | $idsHeadingGap: 24px; |
| 68 | |
| 69 | // Vertical gap between the title and the subtitle. The subtitle's bar segment |
| 70 | // reaches up by this much to bridge it, so the two segments read as one bar. |
| 71 | $idsHeadingSpacing: 8px; |
| 72 | |
| 73 | // Rendered height of one subtitle line. Slides without a subtitle reserve |
| 74 | // exactly this much, so the bar and the start of the body content stay put |
| 75 | // from slide to slide instead of jumping. Must stay in sync with |
| 76 | // $heading3Size (0.9em) and $headingLineHeight (1.2, from template/settings). |
| 77 | $idsSubtitleHeight: 0.9 * $mainFontSize * 1.2; |
| 78 | |
| 79 | // The two bar segments abut at a fractional pixel, which browsers round into a |
| 80 | // visible hairline. Overlapping them slightly makes the join seamless. |
| 81 | $idsBarOverlap: 2px; |
| 82 | |
| 83 | // reveal.js centres the scaled slide in the viewport, so whenever the window's |
| 84 | // aspect ratio does not match the deck's, an empty band is left beside (or |
| 85 | // above) the slide and the bar would not reach the window's physical edge. |
| 86 | // Working out how wide that band is needs viewport / scale, and CSS cannot |
| 87 | // divide a length by a length -- which is why the hand-written IDS decks solve |
| 88 | // this in JavaScript. revealjs_presentation()'s template therefore publishes |
| 89 | // the band widths, in slide coordinates, as --ids-band-left / --ids-band-top, |
| 90 | // and the bar simply shifts out by that much. Falling back to 0px keeps this |
| 91 | // correct whenever the aspect ratios do match, and if the script never runs. |
| 92 | $idsBandLeft: var(--ids-band-left, 0px); |
| 93 | |
| 94 | // revealjs_presentation() sets reveal.js' own `margin` option to 0, so that the |
| 95 | // slide box is the whole viewport and the orange bar can sit flush in its top |
| 96 | // left corner. That would otherwise leave the body content running edge to |
| 97 | // edge, so the breathing room reveal.js' margin used to provide is added back |
| 98 | // here as slide padding; the bar and the headings reach back out to the edge |
| 99 | // with matching negative margins below. The inset is the bar plus its gap, so |
| 100 | // body content lines up with the heading text rather than with the bar. |
| 101 | $idsContentInset: calc(#{$idsBarWidth} + #{$idsHeadingGap}); |
| 102 | |
| 103 | .reveal .slides section:not(.stack) { |
| 104 | box-sizing: border-box !important; |
| 105 | padding-left: #{$idsContentInset} !important; |
| 106 | padding-right: #{$idsContentInset} !important; |
| 107 | } |
| 108 | |
| 109 | // Body content is left aligned with the headings; the title frame keeps its |
| 110 | // own centered layout. |
| 111 | .reveal .slides section:not(.stack):not(.title-frame) { |
| 112 | text-align: left !important; |
| 113 | } |
| 114 | |
| 115 | // reveal.js centers lists by making them inline-block; make them ordinary |
| 116 | // blocks so they line up with the headings, with the markers hanging in the |
| 117 | // padding so the marker column itself aligns with the heading text. |
| 118 | .reveal .slides section:not(.title-frame) ul, |
| 119 | .reveal .slides section:not(.title-frame) ol { |
| 120 | display: block !important; |
| 121 | text-align: left !important; |
| 122 | margin-left: 0 !important; |
| 123 | padding-left: 0.7em !important; |
| 124 | } |
| 125 | |
| 126 | // reveal.js centres code blocks (width: 90%; margin: auto); make them fill the |
| 127 | // slide's text column so they start on the same left edge as the headings. |
| 128 | .reveal .slides section:not(.title-frame) pre { |
| 129 | width: auto !important; |
| 130 | margin-left: 0 !important; |
| 131 | margin-right: 0 !important; |
| 132 | } |
| 133 | |
| 134 | // The IDS logo stays a slide-wide watermark (top right of every slide, |
| 135 | // including the title page). The top offset is chosen so the logo's cap line |
| 136 | // meets the top of the heading text rather than sitting below it; the SVG |
| 137 | // carries a little transparent padding of its own, which this accounts for. |
| 138 | $idsLogoTop: 10px; |
| 139 | $idsLogoRight: 8px; |
| 140 | |
| 141 | .reveal .slides { |
| 142 | background-image: url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg'); |
| 143 | background-repeat: no-repeat; |
| 144 | background-position: top #{$idsLogoTop} right #{$idsLogoRight}; |
| 145 | background-size: calc(var(--slide-height) * #{$idsLogoWidthRatio}) auto; |
| 146 | } |
| 147 | |
| 148 | // The orange bar is drawn as a ::before on the headings rather than on the |
| 149 | // slide, in two segments: one behind the title and one behind the subtitle. |
| 150 | // Because each segment is sized as a percentage of its own heading's box, the |
| 151 | // bar always ends exactly at the bottom of the last heading -- it follows a |
| 152 | // subtitle when there is one, stops at the title when there isn't, and grows |
| 153 | // by itself when a heading wraps onto a second line. No fixed heights, and no |
| 154 | // JavaScript. Headings carry no vertical padding, so they sit as high on the |
| 155 | // slide as the bar does. Every rule is !important because this theme has to |
| 156 | // win against plugin- and document-level CSS loaded after it. |
| 157 | .reveal .slides section:not(.title-frame) > h1:first-child, |
| 158 | .reveal .slides section:not(.title-frame) > h2:first-child { |
| 159 | position: relative !important; |
| 160 | display: block !important; |
| 161 | text-align: left !important; |
| 162 | margin: 0 calc(-1 * #{$idsContentInset}) #{$idsHeadingSpacing} calc(-1 * #{$idsContentInset}) !important; |
| 163 | padding: 0 0 0 #{$idsContentInset} !important; |
| 164 | font-weight: var(--r-heading-font-weight) !important; |
| 165 | } |
| 166 | |
| 167 | .reveal .slides section:not(.title-frame) > h1:first-child::before, |
| 168 | .reveal .slides section:not(.title-frame) > h2:first-child::before, |
| 169 | .reveal .slides section:not(.title-frame) > h2:first-child + h3::before { |
| 170 | content: "" !important; |
| 171 | position: absolute !important; |
| 172 | width: #{$idsBarWidth} !important; |
| 173 | // A flat fill rather than orange_bar.png: that image is two-toned (a lighter |
| 174 | // band across its top), so stretching it over each segment separately left a |
| 175 | // pale seam where the two met. The IDS reference decks draw a flat #f6a800. |
| 176 | background: #{$idsOrange} !important; |
| 177 | } |
| 178 | |
| 179 | // Title segment: pulled out to the window's physical left edge. |
| 180 | .reveal .slides section:not(.title-frame) > h1:first-child::before, |
| 181 | .reveal .slides section:not(.title-frame) > h2:first-child::before { |
| 182 | top: 0 !important; |
| 183 | left: calc(-1 * #{$idsBandLeft}) !important; |
| 184 | height: 100% !important; |
| 185 | } |
| 186 | |
| 187 | // A slide without a subtitle reserves the room one would have taken, so the |
| 188 | // bar keeps the same height and the body content starts at the same place on |
| 189 | // every slide. :has() is what lets us ask "is a subtitle coming?" in CSS; where |
| 190 | // it is unsupported such slides simply keep a title-height bar. |
| 191 | .reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3)), |
| 192 | .reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3)) { |
| 193 | margin-bottom: calc(#{$idsHeadingSpacing} + #{$idsSubtitleHeight} + #{$blockMargin}) !important; |
| 194 | } |
| 195 | |
| 196 | .reveal .slides section:not(.title-frame) > h1:first-child:not(:has(+ h3))::before, |
| 197 | .reveal .slides section:not(.title-frame) > h2:first-child:not(:has(+ h3))::before { |
| 198 | height: calc(100% + #{$idsHeadingSpacing} + #{$idsSubtitleHeight}) !important; |
| 199 | } |
| 200 | |
| 201 | // The subtitle sits in the slide's normal text column, so its segment has to |
| 202 | // reach back out to the slide edge, and up over the gap to the title. |
| 203 | .reveal .slides section:not(.title-frame) > h2:first-child + h3 { |
| 204 | position: relative !important; |
| 205 | text-align: left !important; |
| 206 | margin-top: 0 !important; |
| 207 | margin-left: 0 !important; |
| 208 | margin-bottom: $blockMargin !important; |
| 209 | } |
| 210 | |
| 211 | .reveal .slides section:not(.title-frame) > h2:first-child + h3::before { |
| 212 | top: calc(-1 * (#{$idsHeadingSpacing} + #{$idsBarOverlap})) !important; |
| 213 | left: calc(-1 * (#{$idsContentInset} + #{$idsBandLeft})) !important; |
| 214 | height: calc(100% + #{$idsHeadingSpacing} + #{$idsBarOverlap}) !important; |
| Marc Kupietz | a737b1b | 2023-10-07 09:32:20 +0200 | [diff] [blame] | 215 | } |
| 216 | |
| 217 | // Define additional color effects based on Dracula spec |
| 218 | // https://spec.draculatheme.com/ |
| 219 | :root { |
| 220 | --r-bold-color: #{$idsOrange}; |
| 221 | --r-list-bullet-color: #{$listBulletColor}; |
| 222 | } |
| 223 | |
| 224 | .reveal { |
| 225 | strong, b { |
| 226 | color: var(--r-bold-color); |
| 227 | } |
| 228 | |
| 229 | // Dracula colored list bullets and numbers |
| 230 | ul, ol { |
| 231 | li::marker { |
| 232 | color: var(--r-list-bullet-color) !important; |
| 233 | } |
| 234 | } |
| 235 | } |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 236 | |
| 237 | |
| 238 | /********************************************* |
| 239 | * FOOTER |
| 240 | *********************************************/ |
| Marc Kupietz | c0b272d | 2023-10-08 14:24:18 +0200 | [diff] [blame] | 241 | #ids-footer:not(title-slide) { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 242 | opacity: 1; |
| 243 | background: white; |
| 244 | color: #444444; |
| 245 | border-top: dotted orange 2px; |
| 246 | transition: opacity 800ms ease-in-out; |
| 247 | position: fixed; |
| 248 | height: 6%; |
| 249 | line-height: 6%; |
| 250 | z-index: -20; |
| 251 | width: 100%; |
| 252 | letter-spacing: 0em; |
| 253 | text-align: center; |
| 254 | display: table; |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 255 | } |
| 256 | |
| 257 | #ids-footer span { |
| 258 | height: 100%; |
| 259 | line-height: 100%; |
| 260 | z-index: -20; |
| Marc Kupietz | 61ad026 | 2024-05-14 22:07:50 +0200 | [diff] [blame] | 261 | font-size: 1.8vh; |
| Marc Kupietz | c0b272d | 2023-10-08 14:24:18 +0200 | [diff] [blame] | 262 | 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] | 263 | display: inline-block; |
| 264 | display: table-cell; |
| 265 | vertical-align: middle; |
| 266 | } |
| 267 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 268 | /* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */ |
| Marc Kupietz | c0b272d | 2023-10-08 14:24:18 +0200 | [diff] [blame] | 269 | div.progress[style="display: block;"] ~ #ids-footer { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 270 | bottom: calc(3px + 0vh); |
| 271 | } |
| 272 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 273 | /* Bottom position for the IDS-Footer footer when TOC-Progress is visible */ |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 274 | #ids-footer { |
| 275 | bottom: 3px; |
| 276 | } |
| 277 | |
| 278 | #ids-footer a { |
| 279 | color: #555555; |
| 280 | } |
| 281 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 282 | /* Bottom position for the IDS-Footer footer when progress bar is visible */ |
| Marc Kupietz | c0b272d | 2023-10-08 14:24:18 +0200 | [diff] [blame] | 283 | div.progress[style="display: block;"] ~ footer:last-of-type#ids-footer { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 284 | bottom: 3px; |
| 285 | } |
| 286 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 287 | /* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */ |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 288 | footer:last-of-type#ids-footer { |
| 289 | bottom: 0px; |
| 290 | } |
| 291 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 292 | /* Make IDS-Footer invisible if explicitly indicated */ |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 293 | .no-ids-footer #ids-footer { |
| 294 | opacity: 0; |
| 295 | transition: opacity 800ms ease-in-out; |
| 296 | } |
| 297 | |
| 298 | .title-frame #ids-footer { |
| 299 | opacity: 0; |
| 300 | transition: opacity 800ms ease-in-out; |
| 301 | } |
| 302 | |
| 303 | .no-toc-progress #ids-footer { |
| 304 | opacity: 0; |
| 305 | transition: opacity 800ms ease-in-out; |
| 306 | } |
| 307 | |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 308 | /* Make IDS-Footer invisible in overview mode */ |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 309 | .overview #ids-footer { |
| 310 | opacity: 0; |
| 311 | transition: opacity 800ms ease-in-out; |
| 312 | } |
| 313 | |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 314 | // Like the orange bar/IDS logo above, this is painted on the slide itself |
| 315 | // (rather than on .slide-background-content, which spans the raw, |
| 316 | // unscaled viewport) so it stays pinned to the title slide's true |
| 317 | // bottom-right corner instead of the browser window's. |
| 318 | .reveal .slides section.title-frame { |
| 319 | 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] | 320 | background-repeat: no-repeat; |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 321 | background-position: right 15px bottom 5px; |
| 322 | background-size: calc(var(--slide-height) * 0.07) auto; |
| Marc Kupietz | f0ce032 | 2023-10-07 15:33:47 +0200 | [diff] [blame] | 323 | } |
| 324 | |
| Marc Kupietz | e9ace29 | 2024-05-14 22:11:15 +0200 | [diff] [blame] | 325 | @media only screen { |
| Marc Kupietz | a0f8f68 | 2026-08-08 14:13:11 +0200 | [diff] [blame^] | 326 | .reveal .slides section.title-frame { |
| 327 | background-position: right 45px bottom 5px; |
| Marc Kupietz | e9ace29 | 2024-05-14 22:11:15 +0200 | [diff] [blame] | 328 | } |
| 329 | } |
| 330 | |
| 331 | |
| Marc Kupietz | f0ce032 | 2023-10-07 15:33:47 +0200 | [diff] [blame] | 332 | .slide-menu-items, .slide-menu-toolbar { |
| Marc Kupietz | c0b272d | 2023-10-08 14:24:18 +0200 | [diff] [blame] | 333 | font-family: "Fira Sans" !important; |
| Marc Kupietz | f0ce032 | 2023-10-07 15:33:47 +0200 | [diff] [blame] | 334 | } |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 335 | |
| 336 | /* |
| 337 | * Menu controls |
| 338 | */ |
| Marc Kupietz | c0b272d | 2023-10-08 14:24:18 +0200 | [diff] [blame] | 339 | body .reveal .slide-menu-button { |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 340 | color: #aaaaaa !important; |
| 341 | position: fixed; |
| 342 | left: 30px; |
| 343 | bottom: 2%; |
| 344 | vertical-align: middle; |
| 345 | z-index: 30; |
| 346 | font-size: 2vh; |
| 347 | } |
| 348 | |
| 349 | #customcontrols > ul { |
| 350 | color: #aaaaaa !important; |
| 351 | position: fixed; |
| Marc Kupietz | f51e915 | 2023-10-07 15:32:33 +0200 | [diff] [blame] | 352 | left: 50px; |
| Marc Kupietz | 7c8f7de | 2023-10-07 11:42:29 +0200 | [diff] [blame] | 353 | bottom: 2% !important; |
| 354 | vertical-align: middle; |
| 355 | z-index: 30; |
| 356 | font-size: 2vh; |
| 357 | } |
| 358 | |
| 359 | @media only screen and (min-width: 500px) { |
| 360 | #customcontrols > ul { |
| 361 | bottom: 2% !important; |
| 362 | } |
| 363 | } |
| Marc Kupietz | 3fdee73 | 2023-10-07 18:52:20 +0200 | [diff] [blame] | 364 | |
| Marc Kupietz | c7249f9 | 2023-10-10 07:16:50 +0200 | [diff] [blame] | 365 | .reveal .controls .controls-arrow { |
| 366 | position: relative; |
| 367 | width: 3.6em; |
| 368 | height: 3.6em; |
| 369 | bottom: -12px; |
| 370 | right: -4px; |
| 371 | } |
| 372 | |
| Marc Kupietz | 3fdee73 | 2023-10-07 18:52:20 +0200 | [diff] [blame] | 373 | .reveal h3, h4, h5, h6 { |
| 374 | text-transform: none !important; |
| 375 | } |
| 376 | |
| 377 | .reveal h3, h4, h5, h6 { |
| 378 | text-transform: none !important; |
| 379 | } |
| 380 | |
| 381 | .reveal h2 + h3 { |
| 382 | margin-top: -0.5em !important; |
| 383 | } |
| Marc Kupietz | df0eda9 | 2023-10-07 20:50:00 +0200 | [diff] [blame] | 384 | |
| 385 | .title-frame h1, |
| 386 | .title-frame h2 { |
| 387 | margin: 0 0 0 0; |
| 388 | background: rgb(246, 168, 0); |
| 389 | color: white; |
| 390 | font-family: "Fira Sans Condensed", "Roboto Condensed", Impact, sans-serif; |
| 391 | font-weight: 600; |
| 392 | line-height: 1.2; |
| 393 | letter-spacing: 0.05ex; |
| 394 | text-transform: uppercase; |
| 395 | width: 100%; |
| 396 | margin-top: .5em; |
| 397 | padding-top: .5em; |
| 398 | font-size: 1.75em; |
| 399 | margin-left: 0; |
| 400 | text-align: center; |
| 401 | text-shadow: none; |
| 402 | word-wrap: break-word; |
| 403 | } |
| 404 | |
| 405 | |
| 406 | .title-frame .author { |
| 407 | font-family: "Fira Sans Condensed", sans-serif; |
| 408 | font-weight: 400; |
| 409 | color: #657b83; |
| 410 | margin-top: 10vh; |
| 411 | } |
| 412 | |
| 413 | .title-frame .place { |
| 414 | font-family: "Fira Sans Condensed", sans-serif; |
| 415 | margin-top: 40px; |
| 416 | font-weight: 400; |
| 417 | color: #657b83; |
| 418 | } |
| 419 | |
| 420 | .title-frame h2 { |
| 421 | margin-top: -3px; |
| 422 | margin-bottom: 1em; |
| 423 | padding-bottom: .5em; |
| 424 | font-size: 1em; |
| 425 | } |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 426 | |
| 427 | /********************************************* |
| 428 | * TABLES |
| 429 | *********************************************/ |
| 430 | |
| 431 | th { |
| 432 | color: rgb(246, 168, 0); |
| 433 | } |
| 434 | |
| 435 | table { |
| 436 | font-family: 'Fira Sans Condensed', sans-serif; |
| 437 | font-weight: 400; |
| 438 | font-size: 16px; |
| 439 | } |
| 440 | |
| 441 | .reveal table.dataTable { |
| 442 | border: #aaaaaa 1px solid; |
| 443 | border-collapse: collapse; |
| 444 | } |
| 445 | |
| 446 | .reveal table.dataTable td { |
| 447 | border: #aaaaaa 1px solid; |
| 448 | border-collapse: collapse; |
| 449 | } |
| 450 | |
| 451 | .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 { |
| 452 | display: none; |
| 453 | } |
| 454 | |
| 455 | .caption { |
| 456 | font-family: 'Fira Sans Condensed', sans-serif; |
| 457 | font-weight: 400; |
| 458 | font-size: 16px; |
| 459 | text-align: center; |
| 460 | } |
| 461 | |
| 462 | /* |
| 463 | table.display td { white-space: nowrap; } |
| 464 | */ |
| 465 | |
| 466 | .dt-buttons, .dataTables_filter { |
| 467 | margin-top: 10pt; |
| 468 | } |
| 469 | |
| Marc Kupietz | 069f1e4 | 2023-10-11 10:26:16 +0200 | [diff] [blame] | 470 | /* Sort Arrows in DataTables */ |
| 471 | 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 { |
| 472 | right: 0 !important; |
| 473 | line-height: 80% !important; |
| 474 | } |
| 475 | |
| Marc Kupietz | 0a3c2e5 | 2023-10-08 20:20:43 +0200 | [diff] [blame] | 476 | /********************************************* |
| 477 | * BIBLIOGRAPHY |
| 478 | *********************************************/ |
| 479 | |
| 480 | .reveal .references { |
| 481 | font-family: "Fira Sans Condensed", sans-serif; |
| 482 | font-size: 16px; |
| 483 | text-align: left; |
| 484 | margin-top: 35px; |
| 485 | max-height: 540px; |
| 486 | font-weight: 400; |
| 487 | color: #253b43; |
| 488 | overflow-y: auto; |
| 489 | } |
| 490 | |
| 491 | .hanging-indent > .csl-entry { |
| 492 | padding-left: 22px ; |
| 493 | text-indent: -22px ; |
| 494 | } |
| 495 | |
| 496 | .csl-entry::first-line { |
| 497 | color: #253b43; |
| 498 | } |
| 499 | |
| 500 | .csl-entry { |
| 501 | color: #888888; |
| 502 | } |
| 503 | |
| 504 | /* Add line break after authors and year*/ |
| 505 | .csl-entry :first-child::before { |
| 506 | content: "\a"; |
| 507 | white-space: pre; |
| 508 | } |
| Marc Kupietz | 1179716 | 2023-10-09 23:17:36 +0200 | [diff] [blame] | 509 | |
| 510 | .reveal code.sourceCode:last-child + pre { |
| 511 | height: 800px !important; |
| Marc Kupietz | c7249f9 | 2023-10-10 07:16:50 +0200 | [diff] [blame] | 512 | } |
| 513 | |
| Marc Kupietz | 589d1b8 | 2023-10-10 12:31:33 +0200 | [diff] [blame] | 514 | |
| 515 | /********************************************* |
| 516 | * ARROWS and SLIDE NUMBERS |
| 517 | *********************************************/ |
| 518 | |
| 519 | .reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before { |
| 520 | width: 13px !important; /* size */ |
| 521 | height: 4px; /* line width */ |
| 522 | } |
| 523 | |
| 524 | .reveal .controls { |
| 525 | display: none; |
| 526 | position: absolute; |
| 527 | top: auto; |
| 528 | bottom: -8px; |
| 529 | right: 16px; |
| 530 | left: auto; |
| 531 | z-index: 11; |
| 532 | /* color: #000;*/ |
| 533 | pointer-events: none; |
| 534 | font-size: 8px; |
| 535 | } |
| 536 | |
| 537 | .reveal .controls .controls-arrow { |
| 538 | position: relative; |
| 539 | height: 3.6em; |
| 540 | width: 1.2em; /* distance betwee arrows */ |
| 541 | bottom: 0; |
| 542 | right: 0; |
| 543 | } |
| 544 | |
| 545 | .reveal div.slide-number { |
| 546 | text-align: center; |
| 547 | width: 2em; |
| 548 | position: absolute; |
| 549 | display: block; |
| 550 | right: 29px; |
| 551 | bottom: 22px; |
| 552 | z-index: 31; |
| 553 | font-family: "Fira Sans Condensed", sans-serif; |
| 554 | font-size: 18px; |
| 555 | line-height: 1; |
| 556 | background-color: white; |
| 557 | color: #666; |
| 558 | padding: 0; |
| 559 | } |
| 560 | |