|
| 1 | + |
| 2 | + |
| 3 | +/*--scss:defaults --*/ |
| 4 | +$yellow: #ffc627 !default; |
| 5 | +$gold: #ffc627 !default; |
| 6 | +$red: #8c1d40 !default; |
| 7 | +$maroon: #8c1d40 !default; |
| 8 | +$orange: #ff7f32 !default; |
| 9 | +$blue: #00a3e0 !default; |
| 10 | +$green: #78be20 !default; |
| 11 | +$grey: #747474 !default; |
| 12 | + |
| 13 | +// fonts |
| 14 | +// $font-family-sans-serif: "Arial" !default; |
| 15 | + |
| 16 | +// main colors |
| 17 | +$link-color: $maroon !default; |
| 18 | + |
| 19 | +// font sizes and margins |
| 20 | +$presentation-font-size-root: 46px !default; |
| 21 | +$presentation-h1-font-size: 2.3em !default; |
| 22 | +$presentation-h2-font-size: 1.5em !default; |
| 23 | +$presentation-h3-font-size: 1.2em !default; |
| 24 | +$presentation-h4-font-size: 1.1em !default; |
| 25 | +$presentation-heading-color: $maroon !default; |
| 26 | + |
| 27 | +// inline code |
| 28 | +$code-color: $blue !default; |
| 29 | + |
| 30 | +/*-- scss:mixins --*/ |
| 31 | + |
| 32 | +// Generates the presentation background, can be overridden |
| 33 | +// to return a background image or gradient |
| 34 | +@mixin bodyBackground() { |
| 35 | + background: $backgroundColor; |
| 36 | +} |
| 37 | + |
| 38 | +/*-- scss:rules --*/ |
| 39 | + |
| 40 | +// Change text colors against dark slide backgrounds |
| 41 | + |
| 42 | +.reveal .title { |
| 43 | + line-height: 100px; |
| 44 | + margin-top: 0.5em; |
| 45 | +} |
| 46 | + |
| 47 | +.reveal .subtitle { |
| 48 | + background: $gold; |
| 49 | + font-size: $presentation-h2-font-size; |
| 50 | + font-weight: bold; |
| 51 | + margin-bottom: 1.5em; |
| 52 | +} |
| 53 | + |
| 54 | +.reveal .author { |
| 55 | + font-size: $presentation-h3-font-size; |
| 56 | + font-weight: bold; |
| 57 | + color: $maroon; |
| 58 | +} |
| 59 | + |
| 60 | +.reveal .institute { |
| 61 | + font-size: $presentation-h4-font-size; |
| 62 | +} |
| 63 | + |
| 64 | +.reveal .date { |
| 65 | + font-family: $font-family-monospace; |
| 66 | + font-size: 0.8em; |
| 67 | +} |
| 68 | + |
| 69 | +// This is a sentinel value that renderers can use to determine |
| 70 | +// whether the theme is dark or light |
| 71 | +// @if (color.blackness($backgroundColor) > $code-block-theme-dark-threshhold) { |
| 72 | +// /*! dark */ |
| 73 | +// } @else { |
| 74 | +// /*! light */ |
| 75 | +// } |
| 76 | + |
| 77 | +/*--Custom classes --*/ |
| 78 | +.alert { |
| 79 | + background: #FFC627; |
| 80 | +} |
| 81 | + |
| 82 | +.center { |
| 83 | + text-align: center; |
| 84 | + display: block; |
| 85 | +} |
| 86 | + |
| 87 | +.large {font-size: 150%} |
| 88 | + |
| 89 | +.small {font-size: 80%} |
| 90 | + |
| 91 | +.gold {color: #FFC627} |
| 92 | +.maroon {color: #8C1D40} |
| 93 | +.green {color: #78BE20} |
| 94 | +.blue {color: #00A3E0} |
| 95 | +.orange {color: #FF7F32} |
| 96 | +.grey {color: #747474} |
| 97 | +.fade { |
| 98 | + opacity: 0.5; |
| 99 | +} |
| 100 | + |
| 101 | +/* Two-column layout */ |
| 102 | +.left-column { |
| 103 | + width: 20%; |
| 104 | + height: 93%; |
| 105 | + float: left; |
| 106 | +} |
| 107 | +.left-column h2, .left-column h3 { |
| 108 | + color: var(--inverse-link-color); |
| 109 | +} |
| 110 | +.left-column h2:last-of-type, .left-column h3:last-child { |
| 111 | + color: var(--inverse-text-color); |
| 112 | +} |
| 113 | +.right-column { |
| 114 | + width: 75%; |
| 115 | + float: right; |
| 116 | +} |
| 117 | +.pull-left { |
| 118 | + float: left; |
| 119 | + width: 48%; |
| 120 | +} |
| 121 | +.pull-right { |
| 122 | + float: right; |
| 123 | + width: 48%; |
| 124 | +} |
| 125 | +.pull-right + * { |
| 126 | + clear: both; |
| 127 | +} |
| 128 | + |
| 129 | +hr { |
| 130 | + content: none; |
| 131 | + display: block; |
| 132 | + border: none; |
| 133 | + background-color: $gold; |
| 134 | + height: 0.1em; |
| 135 | +} |
| 136 | + |
| 137 | +blockquote { |
| 138 | + border-left: solid 5px $gold; |
| 139 | + padding-left: 1em; |
| 140 | +} |
| 141 | + |
| 142 | +.container{ |
| 143 | + display: flex; |
| 144 | +} |
| 145 | +.col{ |
| 146 | + flex:1; |
| 147 | +} |
| 148 | + |
| 149 | +.reveal.reveal img |
| 150 | +{ |
| 151 | + border: none; |
| 152 | + box-shadow: none; |
| 153 | + max-height: calc(75vh); |
| 154 | + margin: auto; |
| 155 | + display: flex; |
| 156 | +} |
| 157 | + |
| 158 | +.rotated { |
| 159 | + transform: rotate(270deg) |
| 160 | +} |
| 161 | + |
| 162 | +.reveal .slide figure>figcaption, .reveal .slide img.stretch+p.caption, .reveal .slide img.r-stretch+p.caption { |
| 163 | + font-size: 0.7em; |
| 164 | + text-align: center; |
| 165 | + color: $grey; |
| 166 | +} |
0 commit comments