JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 1 | /** |
Marc Kupietz | 09b7575 | 2023-10-07 09:32:19 +0200 | [diff] [blame^] | 2 | * Black compact & high contrast reveal.js theme, with headers not in capitals. |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 3 | * |
Marc Kupietz | 09b7575 | 2023-10-07 09:32:19 +0200 | [diff] [blame^] | 4 | * By Peter Kehl. Based on black.(s)css by Hakim El Hattab, http://hakim.se |
| 5 | * |
| 6 | * - Keep the source similar to black.css - for easy comparison. |
| 7 | * - $mainFontSize controls code blocks, too (although under some ratio). |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | |
| 11 | // Default mixins and settings ----------------- |
| 12 | @import "../template/mixins"; |
| 13 | @import "../template/settings"; |
| 14 | // --------------------------------------------- |
| 15 | |
| 16 | |
| 17 | // Include theme-specific fonts |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 18 | @import url(./fonts/source-sans-pro/source-sans-pro.css); |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 19 | |
| 20 | |
| 21 | // Override theme settings (see ../template/settings.scss) |
Marc Kupietz | 09b7575 | 2023-10-07 09:32:19 +0200 | [diff] [blame^] | 22 | $backgroundColor: #000000; |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 23 | |
| 24 | $mainColor: #fff; |
| 25 | $headingColor: #fff; |
| 26 | |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 27 | $mainFontSize: 42px; |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 28 | $mainFont: 'Source Sans Pro', Helvetica, sans-serif; |
| 29 | $headingFont: 'Source Sans Pro', Helvetica, sans-serif; |
| 30 | $headingTextShadow: none; |
| 31 | $headingLetterSpacing: normal; |
| 32 | $headingTextTransform: uppercase; |
| 33 | $headingFontWeight: 600; |
| 34 | $linkColor: #42affa; |
| 35 | $linkColorHover: lighten( $linkColor, 15% ); |
| 36 | $selectionBackgroundColor: lighten( $linkColor, 25% ); |
| 37 | |
| 38 | $heading1Size: 2.5em; |
| 39 | $heading2Size: 1.6em; |
| 40 | $heading3Size: 1.3em; |
| 41 | $heading4Size: 1.0em; |
| 42 | |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 43 | // Change text colors against light slide backgrounds |
Marc Kupietz | 09b7575 | 2023-10-07 09:32:19 +0200 | [diff] [blame^] | 44 | @include light-bg-text-color(#000); |
JJ Allaire | efa6ad4 | 2016-01-30 13:12:05 -0500 | [diff] [blame] | 45 | |
| 46 | |
| 47 | // Theme template ------------------------------ |
| 48 | @import "../template/theme"; |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 49 | // --------------------------------------------- |