| /** |
| * IDS theme for reveal.js |
| * |
| * By Marc Kupietz |
| */ |
| |
| |
| // Default mixins and settings ----------------- |
| @import "../template/mixins"; |
| @import "../template/settings"; |
| // --------------------------------------------- |
| |
| |
| // Include theme-specific fonts |
| @import url('https://code.cdn.mozilla.net/fonts/fira.css'); |
| @import url('https://korap.ids-mannheim.de/font/fira-condensed.css'); |
| @import url('https://korap.ids-mannheim.de/font/libertinus.css'); |
| |
| $idsOrange: #f6a800; |
| |
| // Override theme settings (see ../template/settings.scss) |
| $backgroundColor: #fff; |
| |
| $mainColor: #222; |
| $headingColor: $idsOrange; |
| |
| $mainFontSize: 42px; |
| $mainFont: 'Libertinus Serif', Helvetica, sans-serif; |
| $headingFont: 'Fira Sans Condensed', 'Fira Sans', Helvetica, sans-serif; |
| $headingTextShadow: none; |
| $headingLetterSpacing: 0.05ex; |
| $headingTextTransform: uppercase; |
| $headingFontWeight: 600; |
| $linkColor: #2a76dd; |
| $linkColorHover: lighten( $linkColor, 15% ); |
| $selectionBackgroundColor: lighten( $linkColor, 25% ); |
| |
| $heading1Size: 2em; |
| $heading2Size: 1.35em; |
| $heading3Size: 0.9em; |
| $heading4Size: 0.7em; |
| |
| $listBulletColor: $idsOrange; |
| |
| // Change text colors against dark slide backgrounds |
| @include dark-bg-text-color(#fff); |
| |
| |
| // Theme template ------------------------------ |
| @import "../template/theme"; |
| // --------------------------------------------- |
| |
| body { |
| 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; |
| background-repeat: no-repeat !important; |
| background-position: top 20px right 20px, top 20px left !important; |
| background-size: 25vH auto, 4vH 16vH !important; |
| } |
| |
| // Define additional color effects based on Dracula spec |
| // https://spec.draculatheme.com/ |
| :root { |
| --r-bold-color: #{$idsOrange}; |
| --r-list-bullet-color: #{$listBulletColor}; |
| } |
| |
| .reveal { |
| strong, b { |
| color: var(--r-bold-color); |
| } |
| |
| // Dracula colored list bullets and numbers |
| ul, ol { |
| li::marker { |
| color: var(--r-list-bullet-color) !important; |
| } |
| } |
| } |
| |
| |
| /********************************************* |
| * FOOTER |
| *********************************************/ |
| |
| #ids-footer { |
| opacity: 1; |
| background: white; |
| color: #444444; |
| border-top: dotted orange 2px; |
| transition: opacity 800ms ease-in-out; |
| position: fixed; |
| height: 6%; |
| line-height: 6%; |
| z-index: -20; |
| width: 100%; |
| letter-spacing: 0em; |
| text-align: center; |
| display: table; |
| } |
| |
| #ids-footer span { |
| height: 100%; |
| line-height: 100%; |
| z-index: -20; |
| font-size: 2vh; |
| font-family: "Fira Sans Condensed", "Fira Sans", "Roboto Condensed", 'League Gothic', Impact, sans-serif; |
| display: inline-block; |
| display: table-cell; |
| vertical-align: middle; |
| } |
| |
| #ids-footer div span {} |
| |
| |
| /* Bottom position for the IDS-Footer footer when both progress bar and TOC-Progress are visible */ |
| |
| div.progress[style="display: block;"]~#ids-footer { |
| bottom: calc(3px + 0vh); |
| } |
| |
| |
| /* Bottom position for the IDS-Footer footer when TOC-Progress is visible */ |
| |
| #ids-footer { |
| bottom: 3px; |
| } |
| |
| #ids-footer a { |
| color: #555555; |
| } |
| |
| |
| /* Bottom position for the IDS-Footer footer when progress bar is visible */ |
| |
| div.progress[style="display: block;"]~footer:last-of-type#ids-footer { |
| bottom: 3px; |
| } |
| |
| |
| /* Bottom position for the IDS-Footer footer when neither progress bar nor TOC-Progress are visible */ |
| |
| footer:last-of-type#ids-footer { |
| bottom: 0px; |
| } |
| |
| |
| /* Make IDS-Footer invisible if explicitly indicated */ |
| |
| .no-ids-footer #ids-footer { |
| opacity: 0; |
| transition: opacity 800ms ease-in-out; |
| } |
| |
| .title-frame #ids-footer { |
| opacity: 0; |
| transition: opacity 800ms ease-in-out; |
| } |
| |
| .no-toc-progress #ids-footer { |
| opacity: 0; |
| transition: opacity 800ms ease-in-out; |
| } |
| |
| |
| /* Make IDS-Footer invisible in overview mode */ |
| |
| .overview #ids-footer { |
| opacity: 0; |
| transition: opacity 800ms ease-in-out; |
| } |
| |
| .reveal .slide-number { |
| position: absolute; |
| display: block; |
| right: 48px; |
| bottom: 32px; |
| z-index: 31; |
| font-family: Fira Sans, sans-serif; |
| font-size: 18px; |
| line-height: 1; |
| background-color: white; |
| color: #666; |
| padding: 5px; |
| } |
| |
| .reveal .title-frame .slide-number { |
| display: none !important; |
| } |
| |
| .title-frame div { |
| text-align:right !important; |
| background-image: url("https://corpora.ids-mannheim.de/slides/reveal.js.ids/images/Mitglied_WGL_transparent.svg") !important; |
| background-repeat: no-repeat; |
| background-position: right 90px bottom 10px !important; |
| background-size: 7vH auto !important; |
| |
| } |
| |
| .slide-menu-items, .slide-menu-toolbar { |
| font-family: 'Fira Sans' !important; |
| } |
| |
| /* |
| * Menu controls |
| */ |
| |
| body .reveal .slide-menu-button { |
| color: #aaaaaa !important; |
| position: fixed; |
| left: 30px; |
| bottom: 2%; |
| vertical-align: middle; |
| z-index: 30; |
| font-size: 2vh; |
| } |
| |
| #customcontrols > ul { |
| color: #aaaaaa !important; |
| position: fixed; |
| left: 50px; |
| bottom: 2% !important; |
| vertical-align: middle; |
| z-index: 30; |
| font-size: 2vh; |
| } |
| |
| @media only screen and (min-width: 500px) { |
| #customcontrols > ul { |
| bottom: 2% !important; |
| } |
| } |
| |
| .reveal h3, h4, h5, h6 { |
| text-transform: none !important; |
| } |
| |
| .reveal h3, h4, h5, h6 { |
| text-transform: none !important; |
| } |
| |
| .reveal h2 + h3 { |
| margin-top: -0.5em !important; |
| } |