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