Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
1522 views
1
/**
2
* Blood theme for reveal.js
3
* Author: Walther http://github.com/Walther
4
*
5
* Designed to be used with highlight.js theme
6
* "monokai_sublime.css" available from
7
* https://github.com/isagalaev/highlight.js/
8
*
9
* For other themes, change $codeBackground accordingly.
10
*
11
*/
12
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
13
/*********************************************
14
* GLOBAL STYLES
15
*********************************************/
16
body {
17
background: #222;
18
background-color: #222; }
19
20
.reveal {
21
font-family: Ubuntu, "sans-serif";
22
font-size: 36px;
23
font-weight: normal;
24
color: #eee; }
25
26
::selection {
27
color: #fff;
28
background: #a23;
29
text-shadow: none; }
30
31
.reveal .slides > section,
32
.reveal .slides > section > section {
33
line-height: 1.3;
34
font-weight: inherit; }
35
36
/*********************************************
37
* HEADERS
38
*********************************************/
39
.reveal h1,
40
.reveal h2,
41
.reveal h3,
42
.reveal h4,
43
.reveal h5,
44
.reveal h6 {
45
margin: 0 0 20px 0;
46
color: #eee;
47
font-family: Ubuntu, "sans-serif";
48
font-weight: normal;
49
line-height: 1.2;
50
letter-spacing: normal;
51
text-transform: uppercase;
52
text-shadow: 2px 2px 2px #222;
53
word-wrap: break-word; }
54
55
.reveal h1 {
56
font-size: 3.77em; }
57
58
.reveal h2 {
59
font-size: 2.11em; }
60
61
.reveal h3 {
62
font-size: 1.55em; }
63
64
.reveal h4 {
65
font-size: 1em; }
66
67
.reveal h1 {
68
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); }
69
70
/*********************************************
71
* OTHER
72
*********************************************/
73
.reveal p {
74
margin: 20px 0;
75
line-height: 1.3; }
76
77
/* Ensure certain elements are never larger than the slide itself */
78
.reveal img,
79
.reveal video,
80
.reveal iframe {
81
max-width: 95%;
82
max-height: 95%; }
83
84
.reveal strong,
85
.reveal b {
86
font-weight: bold; }
87
88
.reveal em {
89
font-style: italic; }
90
91
.reveal ol,
92
.reveal dl,
93
.reveal ul {
94
display: inline-block;
95
text-align: left;
96
margin: 0 0 0 1em; }
97
98
.reveal ol {
99
list-style-type: decimal; }
100
101
.reveal ul {
102
list-style-type: disc; }
103
104
.reveal ul ul {
105
list-style-type: square; }
106
107
.reveal ul ul ul {
108
list-style-type: circle; }
109
110
.reveal ul ul,
111
.reveal ul ol,
112
.reveal ol ol,
113
.reveal ol ul {
114
display: block;
115
margin-left: 40px; }
116
117
.reveal dt {
118
font-weight: bold; }
119
120
.reveal dd {
121
margin-left: 40px; }
122
123
.reveal q,
124
.reveal blockquote {
125
quotes: none; }
126
127
.reveal blockquote {
128
display: block;
129
position: relative;
130
width: 70%;
131
margin: 20px auto;
132
padding: 5px;
133
font-style: italic;
134
background: rgba(255, 255, 255, 0.05);
135
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
136
137
.reveal blockquote p:first-child,
138
.reveal blockquote p:last-child {
139
display: inline-block; }
140
141
.reveal q {
142
font-style: italic; }
143
144
.reveal pre {
145
display: block;
146
position: relative;
147
width: 90%;
148
margin: 20px auto;
149
text-align: left;
150
font-size: 0.55em;
151
font-family: monospace;
152
line-height: 1.2em;
153
word-wrap: break-word;
154
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
155
156
.reveal code {
157
font-family: monospace; }
158
159
.reveal pre code {
160
display: block;
161
padding: 5px;
162
overflow: auto;
163
max-height: 400px;
164
word-wrap: normal; }
165
166
.reveal table {
167
margin: auto;
168
border-collapse: collapse;
169
border-spacing: 0; }
170
171
.reveal table th {
172
font-weight: bold; }
173
174
.reveal table th,
175
.reveal table td {
176
text-align: left;
177
padding: 0.2em 0.5em 0.2em 0.5em;
178
border-bottom: 1px solid; }
179
180
.reveal table th[align="center"],
181
.reveal table td[align="center"] {
182
text-align: center; }
183
184
.reveal table th[align="right"],
185
.reveal table td[align="right"] {
186
text-align: right; }
187
188
.reveal table tr:last-child td {
189
border-bottom: none; }
190
191
.reveal sup {
192
vertical-align: super; }
193
194
.reveal sub {
195
vertical-align: sub; }
196
197
.reveal small {
198
display: inline-block;
199
font-size: 0.6em;
200
line-height: 1.2em;
201
vertical-align: top; }
202
203
.reveal small * {
204
vertical-align: top; }
205
206
/*********************************************
207
* LINKS
208
*********************************************/
209
.reveal a {
210
color: #a23;
211
text-decoration: none;
212
-webkit-transition: color 0.15s ease;
213
-moz-transition: color 0.15s ease;
214
transition: color 0.15s ease; }
215
216
.reveal a:hover {
217
color: #dd5566;
218
text-shadow: none;
219
border: none; }
220
221
.reveal .roll span:after {
222
color: #fff;
223
background: #6a1520; }
224
225
/*********************************************
226
* IMAGES
227
*********************************************/
228
.reveal section img {
229
margin: 15px 0px;
230
background: rgba(255, 255, 255, 0.12);
231
border: 4px solid #eee;
232
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
233
234
.reveal section img.plain {
235
border: 0;
236
box-shadow: none; }
237
238
.reveal a img {
239
-webkit-transition: all 0.15s linear;
240
-moz-transition: all 0.15s linear;
241
transition: all 0.15s linear; }
242
243
.reveal a:hover img {
244
background: rgba(255, 255, 255, 0.2);
245
border-color: #a23;
246
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
247
248
/*********************************************
249
* NAVIGATION CONTROLS
250
*********************************************/
251
.reveal .controls .navigate-left,
252
.reveal .controls .navigate-left.enabled {
253
border-right-color: #a23; }
254
255
.reveal .controls .navigate-right,
256
.reveal .controls .navigate-right.enabled {
257
border-left-color: #a23; }
258
259
.reveal .controls .navigate-up,
260
.reveal .controls .navigate-up.enabled {
261
border-bottom-color: #a23; }
262
263
.reveal .controls .navigate-down,
264
.reveal .controls .navigate-down.enabled {
265
border-top-color: #a23; }
266
267
.reveal .controls .navigate-left.enabled:hover {
268
border-right-color: #dd5566; }
269
270
.reveal .controls .navigate-right.enabled:hover {
271
border-left-color: #dd5566; }
272
273
.reveal .controls .navigate-up.enabled:hover {
274
border-bottom-color: #dd5566; }
275
276
.reveal .controls .navigate-down.enabled:hover {
277
border-top-color: #dd5566; }
278
279
/*********************************************
280
* PROGRESS BAR
281
*********************************************/
282
.reveal .progress {
283
background: rgba(0, 0, 0, 0.2); }
284
285
.reveal .progress span {
286
background: #a23;
287
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
288
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
289
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
290
291
.reveal p {
292
font-weight: 300;
293
text-shadow: 1px 1px #222; }
294
295
.reveal h1,
296
.reveal h2,
297
.reveal h3,
298
.reveal h4,
299
.reveal h5,
300
.reveal h6 {
301
font-weight: 700; }
302
303
.reveal p code {
304
background-color: #23241f;
305
display: inline-block;
306
border-radius: 7px; }
307
308
.reveal small code {
309
vertical-align: baseline; }
310
311