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 |
| 15 | @import url('https://code.cdn.mozilla.net/fonts/fira.css'); |
| 16 | @import url('https://korap.ids-mannheim.de/font/fira-condensed.css'); |
| 17 | @import url('https://korap.ids-mannheim.de/font/libertinus.css'); |
| 18 | |
| 19 | $idsOrange: #f6a800; |
| 20 | |
| 21 | // Override theme settings (see ../template/settings.scss) |
| 22 | $backgroundColor: #fff; |
| 23 | |
| 24 | $mainColor: #222; |
| 25 | $headingColor: $idsOrange; |
| 26 | |
| 27 | $mainFontSize: 42px; |
| 28 | $mainFont: 'Libertinus Serif', Helvetica, sans-serif; |
| 29 | $headingFont: 'Fira Sans Extra Condensed', 'Fira Sans', Helvetica, sans-serif; |
| 30 | $headingTextShadow: none; |
| 31 | $headingLetterSpacing: 0.05ex; |
| 32 | $headingTextTransform: uppercase; |
| 33 | $headingFontWeight: 600; |
| 34 | $linkColor: #2a76dd; |
| 35 | $linkColorHover: lighten( $linkColor, 15% ); |
| 36 | $selectionBackgroundColor: lighten( $linkColor, 25% ); |
| 37 | |
| 38 | $heading1Size: 2em; |
| 39 | $heading2Size: 1.35em; |
| 40 | $heading3Size: 1.1em; |
| 41 | $heading4Size: 1.0em; |
| 42 | |
| 43 | $listBulletColor: $idsOrange; |
| 44 | |
| 45 | // Change text colors against dark slide backgrounds |
| 46 | @include dark-bg-text-color(#fff); |
| 47 | |
| 48 | |
| 49 | // Theme template ------------------------------ |
| 50 | @import "../template/theme"; |
| 51 | // --------------------------------------------- |
| 52 | |
| 53 | body { |
| 54 | background-image: url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/IDS-Logo-2019.svg'), |
| 55 | url('https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/orange_bar.png') !important; |
| 56 | background-repeat: no-repeat !important; |
| 57 | background-position: top 20px right 20px, top 20px left !important; |
| 58 | background-size: 25vH auto, 4vH 16vH !important; |
| 59 | } |
| 60 | |
| 61 | // Define additional color effects based on Dracula spec |
| 62 | // https://spec.draculatheme.com/ |
| 63 | :root { |
| 64 | --r-bold-color: #{$idsOrange}; |
| 65 | --r-list-bullet-color: #{$listBulletColor}; |
| 66 | } |
| 67 | |
| 68 | .reveal { |
| 69 | strong, b { |
| 70 | color: var(--r-bold-color); |
| 71 | } |
| 72 | |
| 73 | // Dracula colored list bullets and numbers |
| 74 | ul, ol { |
| 75 | li::marker { |
| 76 | color: var(--r-list-bullet-color) !important; |
| 77 | } |
| 78 | } |
| 79 | } |