blob: 34755d0e4aa991222de18bad6c5f15ed7813fe48 [file] [log] [blame]
JJ Allaireefa6ad42016-01-30 13:12:05 -05001/**
2 * A simple theme for reveal.js presentations, similar
3 * to the default theme. The accent color is darkblue.
4 *
5 * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
6 * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
7 */
JJ Allairecff9e7c2016-01-30 14:04:35 -05008
9
10@font-face {
11 font-family: 'News Cycle';
12 font-style: normal;
13 font-weight: 400;
14 src: url(fonts/NewsCycle.ttf) format('truetype');
15}
16@font-face {
17 font-family: 'News Cycle';
18 font-style: normal;
19 font-weight: 700;
20 src: url(fonts/NewsCycleBold.ttf) format('truetype');
21}
22@font-face {
23 font-family: 'Lato';
24 font-style: normal;
25 font-weight: 400;
26 src: url(fonts/Lato.ttf) format('truetype');
27}
28@font-face {
29 font-family: 'Lato';
30 font-style: normal;
31 font-weight: 700;
32 src: url(fonts/LatoBold.ttf) format('truetype');
33}
34@font-face {
35 font-family: 'Lato';
36 font-style: italic;
37 font-weight: 400;
38 src: url(fonts/LatoItalic.ttf) format('truetype');
39}
40@font-face {
41 font-family: 'Lato';
42 font-style: italic;
43 font-weight: 700;
44 src: url(fonts/LatoBoldItalic.ttf) format('truetype');
45}
46
JJ Allaireefa6ad42016-01-30 13:12:05 -050047/*********************************************
48 * GLOBAL STYLES
49 *********************************************/
50body {
51 background: #fff;
52 background-color: #fff; }
53
54.reveal {
55 font-family: "Lato", sans-serif;
56 font-size: 36px;
57 font-weight: normal;
58 color: #000; }
59
60::selection {
61 color: #fff;
62 background: rgba(0, 0, 0, 0.99);
63 text-shadow: none; }
64
65.reveal .slides > section,
66.reveal .slides > section > section {
67 line-height: 1.3;
68 font-weight: inherit; }
69
70/*********************************************
71 * HEADERS
72 *********************************************/
73.reveal h1,
74.reveal h2,
75.reveal h3,
76.reveal h4,
77.reveal h5,
78.reveal h6 {
79 margin: 0 0 20px 0;
80 color: #000;
81 font-family: "News Cycle", Impact, sans-serif;
82 font-weight: normal;
83 line-height: 1.2;
84 letter-spacing: normal;
85 text-transform: none;
86 text-shadow: none;
87 word-wrap: break-word; }
88
89.reveal h1 {
90 font-size: 3.77em; }
91
92.reveal h2 {
93 font-size: 2.11em; }
94
95.reveal h3 {
96 font-size: 1.55em; }
97
98.reveal h4 {
99 font-size: 1em; }
100
101.reveal h1 {
102 text-shadow: none; }
103
104/*********************************************
105 * OTHER
106 *********************************************/
107.reveal p {
108 margin: 20px 0;
109 line-height: 1.3; }
110
111/* Ensure certain elements are never larger than the slide itself */
112.reveal img,
113.reveal video,
114.reveal iframe {
115 max-width: 95%;
116 max-height: 95%; }
117
118.reveal strong,
119.reveal b {
120 font-weight: bold; }
121
122.reveal em {
123 font-style: italic; }
124
125.reveal ol,
126.reveal dl,
127.reveal ul {
128 display: inline-block;
129 text-align: left;
130 margin: 0 0 0 1em; }
131
132.reveal ol {
133 list-style-type: decimal; }
134
135.reveal ul {
136 list-style-type: disc; }
137
138.reveal ul ul {
139 list-style-type: square; }
140
141.reveal ul ul ul {
142 list-style-type: circle; }
143
144.reveal ul ul,
145.reveal ul ol,
146.reveal ol ol,
147.reveal ol ul {
148 display: block;
149 margin-left: 40px; }
150
151.reveal dt {
152 font-weight: bold; }
153
154.reveal dd {
155 margin-left: 40px; }
156
157.reveal q,
158.reveal blockquote {
159 quotes: none; }
160
161.reveal blockquote {
162 display: block;
163 position: relative;
164 width: 70%;
165 margin: 20px auto;
166 padding: 5px;
167 font-style: italic;
168 background: rgba(255, 255, 255, 0.05);
169 box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
170
171.reveal blockquote p:first-child,
172.reveal blockquote p:last-child {
173 display: inline-block; }
174
175.reveal q {
176 font-style: italic; }
177
178.reveal pre {
179 display: block;
180 position: relative;
181 width: 90%;
182 margin: 20px auto;
183 text-align: left;
184 font-size: 0.55em;
185 font-family: monospace;
186 line-height: 1.2em;
187 word-wrap: break-word;
188 box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
189
190.reveal code {
191 font-family: monospace; }
192
193.reveal pre code {
194 display: block;
195 padding: 5px;
196 overflow: auto;
197 max-height: 400px;
198 word-wrap: normal; }
199
200.reveal table {
201 margin: auto;
202 border-collapse: collapse;
203 border-spacing: 0; }
204
205.reveal table th {
206 font-weight: bold; }
207
208.reveal table th,
209.reveal table td {
210 text-align: left;
211 padding: 0.2em 0.5em 0.2em 0.5em;
212 border-bottom: 1px solid; }
213
214.reveal table th[align="center"],
215.reveal table td[align="center"] {
216 text-align: center; }
217
218.reveal table th[align="right"],
219.reveal table td[align="right"] {
220 text-align: right; }
221
Bruce's Thinkpad02529e12016-07-14 01:34:06 +0800222.reveal table tbody tr:last-child th,
223.reveal table tbody tr:last-child td {
JJ Allaireefa6ad42016-01-30 13:12:05 -0500224 border-bottom: none; }
225
226.reveal sup {
227 vertical-align: super; }
228
229.reveal sub {
230 vertical-align: sub; }
231
232.reveal small {
233 display: inline-block;
234 font-size: 0.6em;
235 line-height: 1.2em;
236 vertical-align: top; }
237
238.reveal small * {
239 vertical-align: top; }
240
241/*********************************************
242 * LINKS
243 *********************************************/
244.reveal a {
245 color: #00008B;
246 text-decoration: none;
Bruce's Thinkpad02529e12016-07-14 01:34:06 +0800247 -webkit-transition: color .15s ease;
248 -moz-transition: color .15s ease;
249 transition: color .15s ease; }
JJ Allaireefa6ad42016-01-30 13:12:05 -0500250
251.reveal a:hover {
252 color: #0000f1;
253 text-shadow: none;
254 border: none; }
255
256.reveal .roll span:after {
257 color: #fff;
258 background: #00003f; }
259
260/*********************************************
261 * IMAGES
262 *********************************************/
263.reveal section img {
264 margin: 15px 0px;
265 background: rgba(255, 255, 255, 0.12);
266 border: 4px solid #000;
267 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
268
269.reveal section img.plain {
270 border: 0;
271 box-shadow: none; }
272
273.reveal a img {
Bruce's Thinkpad02529e12016-07-14 01:34:06 +0800274 -webkit-transition: all .15s linear;
275 -moz-transition: all .15s linear;
276 transition: all .15s linear; }
JJ Allaireefa6ad42016-01-30 13:12:05 -0500277
278.reveal a:hover img {
279 background: rgba(255, 255, 255, 0.2);
280 border-color: #00008B;
281 box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
282
283/*********************************************
284 * NAVIGATION CONTROLS
285 *********************************************/
286.reveal .controls .navigate-left,
287.reveal .controls .navigate-left.enabled {
288 border-right-color: #00008B; }
289
290.reveal .controls .navigate-right,
291.reveal .controls .navigate-right.enabled {
292 border-left-color: #00008B; }
293
294.reveal .controls .navigate-up,
295.reveal .controls .navigate-up.enabled {
296 border-bottom-color: #00008B; }
297
298.reveal .controls .navigate-down,
299.reveal .controls .navigate-down.enabled {
300 border-top-color: #00008B; }
301
302.reveal .controls .navigate-left.enabled:hover {
303 border-right-color: #0000f1; }
304
305.reveal .controls .navigate-right.enabled:hover {
306 border-left-color: #0000f1; }
307
308.reveal .controls .navigate-up.enabled:hover {
309 border-bottom-color: #0000f1; }
310
311.reveal .controls .navigate-down.enabled:hover {
312 border-top-color: #0000f1; }
313
314/*********************************************
315 * PROGRESS BAR
316 *********************************************/
317.reveal .progress {
318 background: rgba(0, 0, 0, 0.2); }
319
320.reveal .progress span {
321 background: #00008B;
322 -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
323 -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
324 transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }