-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathslidestyles.css
307 lines (250 loc) · 6.99 KB
/
slidestyles.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
/* Reset
-------------------------------------------------- */
*, *:before, *:after {
margin: 0;
padding: 0;
border: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
article, aside, figcaption, figure, footer, header, main, nav, section {
display: block;
}
ol, ul {
list-style: none;
}
/* Pix
-------------------------------------------------- */
img { /* common CSS for fluid rescaling, but respecting the image's actual pixel size */
display: block;
max-width: 100%;
}
.remark-slide-content img { /* special requirement for slides: upscale images smaller than the available space to 100%, but don't leak out over the bottom */
margin: 0 auto !important;
width: 100% !important;
height: 42vh !important;
object-fit: contain !important;
}
/* Nasty CSS hack to target WebKit so that PDF exporting still looks good although WebKit in PhantomJS does NOT support "object-fit" */
@media screen and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {
@media {
.remark-slide-content img {
height: auto !important;
object-fit: fill !important;
}
}
}
/* Base
-------------------------------------------------- */
html {
height: 100%;
}
body {
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
background-color: #FAFAFA !important; /* override remark.js's hardcoded dark background color in fullscreen view */
}
/* Main
-------------------------------------------------- */
.remark-container { /* slides page background */
background: #FAFAFA;
}
.remark-slide-content { /* actual slides style */
background-color: #2196F3;
background-repeat: no-repeat;
background-position: center center !important;
background-size: 100% auto !important; /* override remark.js's Javascript-based image auto-scaling */
-webkit-background-size: cover !important;
moz-background-size: cover !important;
o-background-size: cover !important;
background-size: cover !important;
color: #fff;
font-size: 1.716em;
}
.remark-slide-content h1 {
font-size: 4.148em;
}
.remark-slide-content h2 {
font-size: 2.432em;
}
.remark-slide-content p,
.remark-slide-content ol,
.remark-slide-content ul {
margin: 0 0 .5em 0; /* Global margin rules for in-slide elements */
}
/* Links
-------------------------------------------------- */
.remark-slide-content a:link,
.remark-slide-content a:visited,
.remark-slide-content a:hover,
.remark-slide-content a:active {
color: #fff;
}
/* Lists
-------------------------------------------------- */
.remark-slide-content p,
.remark-slide-content ol,
.remark-slide-content ul {
text-align: left;
}
.remark-slide-content ol li,
.remark-slide-content ul li, {
margin-bottom: .5em;
}
.remark-slide-content ol li {
counter-increment: step-counter;
}
.remark-slide-content ol li::before {
content: counter(step-counter);
margin-right: 5px;
font-size: 0.716em;
background-color: #FF9800;
font-weight: bold;
padding: 3px 8px;
border-radius: 3px;
}
.remark-slide-content ul li {
margin: 0 0 0 1em;
list-style: disc none outside;
}
/* Blockquotes
-------------------------------------------------- */
.blockquote {
background-color: rgba(33,33,33,.85);
border-left: 0.225em solid #fff;
margin: 1.5em 0 1.5em;
padding: 1em 1.5em 0.1em 2.5em;
position: relative;
border-radius: 3px;
}
.blockquote:before,
.blockquote:after {
font-size: 5em;
position: absolute;
line-height: .1em;
}
.blockquote:before {
content: "\201C";
left: 5px;
top: .43em;
}
.blockquote:after {
content: "\201D";
right: 25px;
bottom: 0em;
}
.blockquote:before,
.blockquote:after,
.blockquote p:first-of-type {
font-family: Georgia, Times, "Times New Roman", serif;
font-style: italic;
}
.blockquote p:nth-of-type(2n):before {
content:"\2013\00a0";
}
.blockquote p:nth-of-type(2n) {
padding: 1em 0;
font-size: 0.716em;
}
/* Code Blocks
-------------------------------------------------- */
.remark-code,
.remark-inline-code {
font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
font-size: 24px;
}
.hljs-tomorrow-night-blue .hljs {
background-color: rgba(33,33,33,.85) !important; /* override Highlight.js's "Tomorrow Night Blue" background color for consistency */
border-left: 0.225em solid #fff;
margin: 1.5em 0 1.5em;
padding: 1em 1.5em 0.1em 2.5em;
border-radius: 3px;
}
/* Videos
-------------------------------------------------- */
.video {
clear: both;
width: 100%;
position: relative;
padding-bottom: 56.45%;
padding-top: 25px;
height: 0;
}
.video iframe,
.video video,
.video img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video iframe,
.video video {
z-index: 999; /* Make sure actual animated content always overlays the fallback image */
}
.video img {
z-index: 2; /* The fallback image gets a low z-index to always render behind actual live video */
}
.video + .video {
margin-top: -54%; /* Move the fallback image to the same XY coordinates as the actual video */
padding: 1px; /* 1px padding prevents visible half-pixel borders leaking through due to rounding */
}
.video + .video img {
height: auto !important;
}
/* Two-Column Layout
-------------------------------------------------- */
.left-column,
.right-column {
width: 49%;
text-align: left;
}
.left-column {
float: left;
}
.right-column {
float: right;
}
/* Presenter Mode Styles
-------------------------------------------------- */
.remark-container.remark-presenter-mode .remark-notes-area .remark-notes {
font-size: 166%;
line-height: 133%;
}
.remark-container.remark-presenter-mode .remark-notes-area .remark-notes ul,
.remark-container.remark-presenter-mode .remark-notes-area .remark-notes-preview ul {
list-style: disc outside none !important;
padding-left: 24px !important;
}
/* Additional Helper Classes
-------------------------------------------------- */
.footnote,
.remark-slide-number {
bottom: 12px;
padding: 6px;
color: #fff;
background-color: rgba(50,50,50,.2);
border-radius: 12px;
position: absolute;
font-size: 0.415em;
}
.footnote {
left: 20px;
}
.remark-slide-number {
right: 20px;
opacity: 1 !important;
}
.redbg {
box-shadow: 0px 9999px rgba(235, 13, 13, 0.4) inset;
}
.bluebg {
box-shadow: 0px 9999px rgba(13, 13, 235, 0.4) inset;
}
.blackbg {
box-shadow: 0px 9999px rgba(13, 13, 13, 0.4) inset;
}