Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 1 | /** |
| 2 | * Sky theme for reveal.js. |
| 3 | * |
| 4 | * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se |
| 5 | */ |
Marc Kupietz | 9c036a4 | 2024-05-14 13:17:25 +0200 | [diff] [blame^] | 6 | @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); |
| 7 | @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 8 | .reveal a { |
| 9 | line-height: 1.3em; |
| 10 | } |
| 11 | |
| 12 | section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 { |
| 13 | color: #fff; |
| 14 | } |
| 15 | |
| 16 | /********************************************* |
| 17 | * GLOBAL STYLES |
| 18 | *********************************************/ |
| 19 | :root { |
| 20 | --r-background-color: #f7fbfc; |
| 21 | --r-main-font: Open Sans, sans-serif; |
| 22 | --r-main-font-size: 40px; |
| 23 | --r-main-color: #333; |
| 24 | --r-block-margin: 20px; |
| 25 | --r-heading-margin: 0 0 20px 0; |
| 26 | --r-heading-font: Quicksand, sans-serif; |
| 27 | --r-heading-color: #333; |
| 28 | --r-heading-line-height: 1.2; |
| 29 | --r-heading-letter-spacing: -0.08em; |
| 30 | --r-heading-text-transform: uppercase; |
| 31 | --r-heading-text-shadow: none; |
| 32 | --r-heading-font-weight: normal; |
| 33 | --r-heading1-text-shadow: none; |
| 34 | --r-heading1-size: 3.77em; |
| 35 | --r-heading2-size: 2.11em; |
| 36 | --r-heading3-size: 1.55em; |
| 37 | --r-heading4-size: 1em; |
| 38 | --r-code-font: monospace; |
| 39 | --r-link-color: #3b759e; |
| 40 | --r-link-color-dark: #264c66; |
| 41 | --r-link-color-hover: #74a7cb; |
| 42 | --r-selection-background-color: #134674; |
| 43 | --r-selection-color: #fff; |
Marc Kupietz | 9c036a4 | 2024-05-14 13:17:25 +0200 | [diff] [blame^] | 44 | --r-overlay-element-bg-color: 0, 0, 0; |
| 45 | --r-overlay-element-fg-color: 240, 240, 240; |
Christophe Dervieux | e1893ae | 2021-10-07 17:09:02 +0200 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | .reveal-viewport { |
| 49 | background: #add9e4; |
| 50 | background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); |
| 51 | background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4)); |
| 52 | background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); |
| 53 | background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); |
| 54 | background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); |
| 55 | background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%); |
| 56 | background-color: var(--r-background-color); |
| 57 | } |
| 58 | |
| 59 | .reveal { |
| 60 | font-family: var(--r-main-font); |
| 61 | font-size: var(--r-main-font-size); |
| 62 | font-weight: normal; |
| 63 | color: var(--r-main-color); |
| 64 | } |
| 65 | |
| 66 | .reveal ::selection { |
| 67 | color: var(--r-selection-color); |
| 68 | background: var(--r-selection-background-color); |
| 69 | text-shadow: none; |
| 70 | } |
| 71 | |
| 72 | .reveal ::-moz-selection { |
| 73 | color: var(--r-selection-color); |
| 74 | background: var(--r-selection-background-color); |
| 75 | text-shadow: none; |
| 76 | } |
| 77 | |
| 78 | .reveal .slides section, |
| 79 | .reveal .slides section > section { |
| 80 | line-height: 1.3; |
| 81 | font-weight: inherit; |
| 82 | } |
| 83 | |
| 84 | /********************************************* |
| 85 | * HEADERS |
| 86 | *********************************************/ |
| 87 | .reveal h1, |
| 88 | .reveal h2, |
| 89 | .reveal h3, |
| 90 | .reveal h4, |
| 91 | .reveal h5, |
| 92 | .reveal h6 { |
| 93 | margin: var(--r-heading-margin); |
| 94 | color: var(--r-heading-color); |
| 95 | font-family: var(--r-heading-font); |
| 96 | font-weight: var(--r-heading-font-weight); |
| 97 | line-height: var(--r-heading-line-height); |
| 98 | letter-spacing: var(--r-heading-letter-spacing); |
| 99 | text-transform: var(--r-heading-text-transform); |
| 100 | text-shadow: var(--r-heading-text-shadow); |
| 101 | word-wrap: break-word; |
| 102 | } |
| 103 | |
| 104 | .reveal h1 { |
| 105 | font-size: var(--r-heading1-size); |
| 106 | } |
| 107 | |
| 108 | .reveal h2 { |
| 109 | font-size: var(--r-heading2-size); |
| 110 | } |
| 111 | |
| 112 | .reveal h3 { |
| 113 | font-size: var(--r-heading3-size); |
| 114 | } |
| 115 | |
| 116 | .reveal h4 { |
| 117 | font-size: var(--r-heading4-size); |
| 118 | } |
| 119 | |
| 120 | .reveal h1 { |
| 121 | text-shadow: var(--r-heading1-text-shadow); |
| 122 | } |
| 123 | |
| 124 | /********************************************* |
| 125 | * OTHER |
| 126 | *********************************************/ |
| 127 | .reveal p { |
| 128 | margin: var(--r-block-margin) 0; |
| 129 | line-height: 1.3; |
| 130 | } |
| 131 | |
| 132 | /* Remove trailing margins after titles */ |
| 133 | .reveal h1:last-child, |
| 134 | .reveal h2:last-child, |
| 135 | .reveal h3:last-child, |
| 136 | .reveal h4:last-child, |
| 137 | .reveal h5:last-child, |
| 138 | .reveal h6:last-child { |
| 139 | margin-bottom: 0; |
| 140 | } |
| 141 | |
| 142 | /* Ensure certain elements are never larger than the slide itself */ |
| 143 | .reveal img, |
| 144 | .reveal video, |
| 145 | .reveal iframe { |
| 146 | max-width: 95%; |
| 147 | max-height: 95%; |
| 148 | } |
| 149 | |
| 150 | .reveal strong, |
| 151 | .reveal b { |
| 152 | font-weight: bold; |
| 153 | } |
| 154 | |
| 155 | .reveal em { |
| 156 | font-style: italic; |
| 157 | } |
| 158 | |
| 159 | .reveal ol, |
| 160 | .reveal dl, |
| 161 | .reveal ul { |
| 162 | display: inline-block; |
| 163 | text-align: left; |
| 164 | margin: 0 0 0 1em; |
| 165 | } |
| 166 | |
| 167 | .reveal ol { |
| 168 | list-style-type: decimal; |
| 169 | } |
| 170 | |
| 171 | .reveal ul { |
| 172 | list-style-type: disc; |
| 173 | } |
| 174 | |
| 175 | .reveal ul ul { |
| 176 | list-style-type: square; |
| 177 | } |
| 178 | |
| 179 | .reveal ul ul ul { |
| 180 | list-style-type: circle; |
| 181 | } |
| 182 | |
| 183 | .reveal ul ul, |
| 184 | .reveal ul ol, |
| 185 | .reveal ol ol, |
| 186 | .reveal ol ul { |
| 187 | display: block; |
| 188 | margin-left: 40px; |
| 189 | } |
| 190 | |
| 191 | .reveal dt { |
| 192 | font-weight: bold; |
| 193 | } |
| 194 | |
| 195 | .reveal dd { |
| 196 | margin-left: 40px; |
| 197 | } |
| 198 | |
| 199 | .reveal blockquote { |
| 200 | display: block; |
| 201 | position: relative; |
| 202 | width: 70%; |
| 203 | margin: var(--r-block-margin) auto; |
| 204 | padding: 5px; |
| 205 | font-style: italic; |
| 206 | background: rgba(255, 255, 255, 0.05); |
| 207 | box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); |
| 208 | } |
| 209 | |
| 210 | .reveal blockquote p:first-child, |
| 211 | .reveal blockquote p:last-child { |
| 212 | display: inline-block; |
| 213 | } |
| 214 | |
| 215 | .reveal q { |
| 216 | font-style: italic; |
| 217 | } |
| 218 | |
| 219 | .reveal pre { |
| 220 | display: block; |
| 221 | position: relative; |
| 222 | width: 90%; |
| 223 | margin: var(--r-block-margin) auto; |
| 224 | text-align: left; |
| 225 | font-size: 0.55em; |
| 226 | font-family: var(--r-code-font); |
| 227 | line-height: 1.2em; |
| 228 | word-wrap: break-word; |
| 229 | box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); |
| 230 | } |
| 231 | |
| 232 | .reveal code { |
| 233 | font-family: var(--r-code-font); |
| 234 | text-transform: none; |
| 235 | tab-size: 2; |
| 236 | } |
| 237 | |
| 238 | .reveal pre code { |
| 239 | display: block; |
| 240 | padding: 5px; |
| 241 | overflow: auto; |
| 242 | max-height: 400px; |
| 243 | word-wrap: normal; |
| 244 | } |
| 245 | |
| 246 | .reveal .code-wrapper { |
| 247 | white-space: normal; |
| 248 | } |
| 249 | |
| 250 | .reveal .code-wrapper code { |
| 251 | white-space: pre; |
| 252 | } |
| 253 | |
| 254 | .reveal table { |
| 255 | margin: auto; |
| 256 | border-collapse: collapse; |
| 257 | border-spacing: 0; |
| 258 | } |
| 259 | |
| 260 | .reveal table th { |
| 261 | font-weight: bold; |
| 262 | } |
| 263 | |
| 264 | .reveal table th, |
| 265 | .reveal table td { |
| 266 | text-align: left; |
| 267 | padding: 0.2em 0.5em 0.2em 0.5em; |
| 268 | border-bottom: 1px solid; |
| 269 | } |
| 270 | |
| 271 | .reveal table th[align=center], |
| 272 | .reveal table td[align=center] { |
| 273 | text-align: center; |
| 274 | } |
| 275 | |
| 276 | .reveal table th[align=right], |
| 277 | .reveal table td[align=right] { |
| 278 | text-align: right; |
| 279 | } |
| 280 | |
| 281 | .reveal table tbody tr:last-child th, |
| 282 | .reveal table tbody tr:last-child td { |
| 283 | border-bottom: none; |
| 284 | } |
| 285 | |
| 286 | .reveal sup { |
| 287 | vertical-align: super; |
| 288 | font-size: smaller; |
| 289 | } |
| 290 | |
| 291 | .reveal sub { |
| 292 | vertical-align: sub; |
| 293 | font-size: smaller; |
| 294 | } |
| 295 | |
| 296 | .reveal small { |
| 297 | display: inline-block; |
| 298 | font-size: 0.6em; |
| 299 | line-height: 1.2em; |
| 300 | vertical-align: top; |
| 301 | } |
| 302 | |
| 303 | .reveal small * { |
| 304 | vertical-align: top; |
| 305 | } |
| 306 | |
| 307 | .reveal img { |
| 308 | margin: var(--r-block-margin) 0; |
| 309 | } |
| 310 | |
| 311 | /********************************************* |
| 312 | * LINKS |
| 313 | *********************************************/ |
| 314 | .reveal a { |
| 315 | color: var(--r-link-color); |
| 316 | text-decoration: none; |
| 317 | transition: color 0.15s ease; |
| 318 | } |
| 319 | |
| 320 | .reveal a:hover { |
| 321 | color: var(--r-link-color-hover); |
| 322 | text-shadow: none; |
| 323 | border: none; |
| 324 | } |
| 325 | |
| 326 | .reveal .roll span:after { |
| 327 | color: #fff; |
| 328 | background: var(--r-link-color-dark); |
| 329 | } |
| 330 | |
| 331 | /********************************************* |
| 332 | * Frame helper |
| 333 | *********************************************/ |
| 334 | .reveal .r-frame { |
| 335 | border: 4px solid var(--r-main-color); |
| 336 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); |
| 337 | } |
| 338 | |
| 339 | .reveal a .r-frame { |
| 340 | transition: all 0.15s linear; |
| 341 | } |
| 342 | |
| 343 | .reveal a:hover .r-frame { |
| 344 | border-color: var(--r-link-color); |
| 345 | box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); |
| 346 | } |
| 347 | |
| 348 | /********************************************* |
| 349 | * NAVIGATION CONTROLS |
| 350 | *********************************************/ |
| 351 | .reveal .controls { |
| 352 | color: var(--r-link-color); |
| 353 | } |
| 354 | |
| 355 | /********************************************* |
| 356 | * PROGRESS BAR |
| 357 | *********************************************/ |
| 358 | .reveal .progress { |
| 359 | background: rgba(0, 0, 0, 0.2); |
| 360 | color: var(--r-link-color); |
| 361 | } |
| 362 | |
| 363 | /********************************************* |
| 364 | * PRINT BACKGROUND |
| 365 | *********************************************/ |
| 366 | @media print { |
| 367 | .backgrounds { |
| 368 | background-color: var(--r-background-color); |
| 369 | } |
Marc Kupietz | 9c036a4 | 2024-05-14 13:17:25 +0200 | [diff] [blame^] | 370 | } |