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