forked from pkgw/htmltalk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpkgwtheme.css
314 lines (260 loc) · 6.67 KB
/
pkgwtheme.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
/* Custom reveal.js theme.
*
* Based off of the theme of
* , which is
* copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
src: local('Montserrat-Bold'),
url(assets/googlewebfont-Montserrat-700.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'),
url(assets/googlewebfont-Open-Sans-400.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'),
url(assets/googlewebfont-Open-Sans-700.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: local('Open Sans Italic'), local('OpenSans-Italic'),
url(assets/googlewebfont-Open-Sans-400it.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
url(assets/googlewebfont-Open-Sans-700it.ttf) format('truetype');
}
body {
background: #111111;
background-color: #111111;
}
.reveal {
font-family: "Open Sans", sans-serif;
font-size: 30px;
font-weight: 200;
letter-spacing: -0.02em;
color: #eeeeee;
}
.reveal .slides > section {
/* Force every slide to be full height so that footers work */
height: 100%;
min-height:100%;
}
.reveal .slides section section {
/* Force every slide to be full height so that footers work */
height: 100%;
min-height:100%;
}
::selection {
color: white;
background: #e7ad52;
text-shadow: none; }
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
margin: 0 0 20px 0;
color: #eeeeee;
font-family: "Montserrat", Impact, sans-serif;
line-height: 0.9em;
letter-spacing: -0.03em;
text-transform: none;
text-shadow: none;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
.reveal a:not(.image) {
color: #e7ad52;
text-decoration: none;
-webkit-transition: color .15s ease;
-moz-transition: color .15s ease;
-ms-transition: color .15s ease;
-o-transition: color .15s ease;
transition: color .15s ease; }
.reveal a:not(.image):hover {
color: #f3d7ac;
text-shadow: none;
border: none; }
.reveal .roll span:after {
color: #fff;
background: #d08a1d; }
.reveal section img {
margin: 2px 2px 2px;
-webkit-transition: all .2s linear;
-moz-transition: all .2s linear;
-ms-transition: all .2s linear;
-o-transition: all .2s linear;
transition: all .2s linear; }
.reveal a:hover img {
background: rgba(255, 255, 255, 0.2);
border-color: #e7ad52;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
.reveal .controls div.navigate-left,
.reveal .controls div.navigate-left.enabled {
border-right-color: #e7ad52; }
.reveal .controls div.navigate-right,
.reveal .controls div.navigate-right.enabled {
border-left-color: #e7ad52; }
.reveal .controls div.navigate-up,
.reveal .controls div.navigate-up.enabled {
border-bottom-color: #e7ad52; }
.reveal .controls div.navigate-down,
.reveal .controls div.navigate-down.enabled {
border-top-color: #e7ad52; }
.reveal .controls div.navigate-left.enabled:hover {
border-right-color: #f3d7ac; }
.reveal .controls div.navigate-right.enabled:hover {
border-left-color: #f3d7ac; }
.reveal .controls div.navigate-up.enabled:hover {
border-bottom-color: #f3d7ac; }
.reveal .controls div.navigate-down.enabled:hover {
border-top-color: #f3d7ac; }
.reveal .progress {
background: rgba(0, 0, 0, 0.2); }
.reveal .progress span {
background: #e7ad52;
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
/* Styling customizations for standard elements */
.reveal h1 {
font-size: 2.5em;
margin-top: 280px;
}
.reveal h2 {
font-size: 1.5em;
text-align: left;
border-bottom: 1px solid;
width: 100%;
margin-bottom: 18px;
}
.reveal p {
text-align: left;
}
.reveal blockquote {
background-color: rgba(70, 70, 70, 0.7);
box-shadow: 0px 4px 4px rgba(40,40,40,0.8);
width: 90%;
}
.reveal section div img, .reveal section div video {
/* If inside a <div>, assume manual layout; let the image
fill the whole box */
max-width: 100%;
}
.reveal ul, .reveal ol {
margin-left: 2em;
margin-bottom: 10px; /* same as <p> */
width: calc(100% - 2em); /* sigh, anything better? */
}
.reveal ul {
/* no better way to set the UL list bullet style nicely??? (next rule, too) */
list-style-type: none;
}
.reveal ul li:before {
content: "•";
display: block;
height: 0;
width: 0;
position: relative;
left: -0.5em;
}
/* Custom helper classes for layout */
.reveal .ctr {
margin-left: auto;
margin-right: auto;
}
.reveal .w25 { width: 25%; }
.reveal .w30 { width: 30%; }
.reveal .w35 { width: 35%; }
.reveal .w40 { width: 40%; }
.reveal .w45 { width: 45%; }
.reveal .w50 { width: 50%; }
.reveal .w55 { width: 55%; }
.reveal .w60 { width: 60%; }
.reveal .w65 { width: 65%; }
.reveal .w70 { width: 70%; }
.reveal .w80 { width: 80%; }
.reveal .w85 { width: 85%; }
.reveal .w90 { width: 90%; }
.reveal .w100 { width: 100%; }
.reveal .footer {
position: absolute;
bottom: 1em;
left: 1em;
font-size: 0.8em;
}
.reveal .bgcred {
text-align: right;
font-size: 60% !important;
position: absolute;
bottom: 0;
width: 100%;
}
.reveal .lcred {
text-align: left;
font-size: 55% !important;
}
.reveal .rcred {
text-align: right;
font-size: 55% !important;
}
.reveal .spacer {
text-align: center;
width: 100%;
margin: 10px 0px;
}
.reveal .citation {
position: relative;
bottom: 1em;
left: 1em;
font-size: 0.8em;
text-align: left;
line-height: 110%
}
.reveal cite{
text-decoration: none;
vertical-align: super;
}
.reveal cite:before {
counter-increment: citation_counter;
content: "(" counter(citation_counter) ")";
}
.reveal footl {
list-style-type: none;
}
.reveal footl footi:before {
counter-increment: footnote_counter;
content: '(' counter(footnote_counter) ') ' ;
}
.reveal footl footi { display:block; }
.reveal resetfootnotecounter{
counter-reset: footnote_counter;
}
.reveal resetcitationcounter{
counter-reset: citation_counter;
}
/* for debugging; note that the border offsets the layout slightly.
.reveal .slides section.present {
border: 2px solid red;
}
*/