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