blob: 511fa79899e0abf19ff0928291743a6fe6a8c269 [file] [log] [blame]
JJ Allaireefa6ad42016-01-30 13:12:05 -05001/**
2 * Black theme for reveal.js. This is the opposite of the 'white' theme.
3 *
Bruce's Thinkpad0a618072016-07-14 01:23:09 +08004 * By Hakim El Hattab, http://hakim.se
JJ Allaireefa6ad42016-01-30 13:12:05 -05005 */
6@import url(../../lib/font/source-sans-pro/source-sans-pro.css);
7section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
8 color: #222; }
9
10/*********************************************
11 * GLOBAL STYLES
12 *********************************************/
13body {
14 background: #222;
15 background-color: #222; }
16
17.reveal {
18 font-family: "Source Sans Pro", Helvetica, sans-serif;
19 font-size: 38px;
20 font-weight: normal;
21 color: #fff; }
22
23::selection {
24 color: #fff;
25 background: #bee4fd;
26 text-shadow: none; }
27
28.reveal .slides > section,
29.reveal .slides > section > section {
30 line-height: 1.3;
31 font-weight: inherit; }
32
33/*********************************************
34 * HEADERS
35 *********************************************/
36.reveal h1,
37.reveal h2,
38.reveal h3,
39.reveal h4,
40.reveal h5,
41.reveal h6 {
42 margin: 0 0 20px 0;
43 color: #fff;
44 font-family: "Source Sans Pro", Helvetica, sans-serif;
45 font-weight: 600;
46 line-height: 1.2;
47 letter-spacing: normal;
48 text-transform: uppercase;
49 text-shadow: none;
50 word-wrap: break-word; }
51
52.reveal h1 {
53 font-size: 2.5em; }
54
55.reveal h2 {
56 font-size: 1.6em; }
57
58.reveal h3 {
59 font-size: 1.3em; }
60
61.reveal h4 {
62 font-size: 1em; }
63
64.reveal h1 {
65 text-shadow: none; }
66
67/*********************************************
68 * OTHER
69 *********************************************/
70.reveal p {
71 margin: 20px 0;
72 line-height: 1.3; }
73
74/* Ensure certain elements are never larger than the slide itself */
75.reveal img,
76.reveal video,
77.reveal iframe {
78 max-width: 95%;
79 max-height: 95%; }
80
81.reveal strong,
82.reveal b {
83 font-weight: bold; }
84
85.reveal em {
86 font-style: italic; }
87
88.reveal ol,
89.reveal dl,
90.reveal ul {
91 display: inline-block;
92 text-align: left;
93 margin: 0 0 0 1em; }
94
95.reveal ol {
96 list-style-type: decimal; }
97
98.reveal ul {
99 list-style-type: disc; }
100
101.reveal ul ul {
102 list-style-type: square; }
103
104.reveal ul ul ul {
105 list-style-type: circle; }
106
107.reveal ul ul,
108.reveal ul ol,
109.reveal ol ol,
110.reveal ol ul {
111 display: block;
112 margin-left: 40px; }
113
114.reveal dt {
115 font-weight: bold; }
116
117.reveal dd {
118 margin-left: 40px; }
119
120.reveal q,
121.reveal blockquote {
122 quotes: none; }
123
124.reveal blockquote {
125 display: block;
126 position: relative;
127 width: 70%;
128 margin: 20px auto;
129 padding: 5px;
130 font-style: italic;
131 background: rgba(255, 255, 255, 0.05);
132 box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
133
134.reveal blockquote p:first-child,
135.reveal blockquote p:last-child {
136 display: inline-block; }
137
138.reveal q {
139 font-style: italic; }
140
141.reveal pre {
142 display: block;
143 position: relative;
144 width: 90%;
145 margin: 20px auto;
146 text-align: left;
147 font-size: 0.55em;
148 font-family: monospace;
149 line-height: 1.2em;
150 word-wrap: break-word;
151 box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
152
153.reveal code {
154 font-family: monospace; }
155
156.reveal pre code {
157 display: block;
158 padding: 5px;
159 overflow: auto;
160 max-height: 400px;
161 word-wrap: normal; }
162
163.reveal table {
164 margin: auto;
165 border-collapse: collapse;
166 border-spacing: 0; }
167
168.reveal table th {
169 font-weight: bold; }
170
171.reveal table th,
172.reveal table td {
173 text-align: left;
174 padding: 0.2em 0.5em 0.2em 0.5em;
175 border-bottom: 1px solid; }
176
177.reveal table th[align="center"],
178.reveal table td[align="center"] {
179 text-align: center; }
180
181.reveal table th[align="right"],
182.reveal table td[align="right"] {
183 text-align: right; }
184
Bruce's Thinkpad0a618072016-07-14 01:23:09 +0800185.reveal table tbody tr:last-child th,
186.reveal table tbody tr:last-child td {
JJ Allaireefa6ad42016-01-30 13:12:05 -0500187 border-bottom: none; }
188
189.reveal sup {
190 vertical-align: super; }
191
192.reveal sub {
193 vertical-align: sub; }
194
195.reveal small {
196 display: inline-block;
197 font-size: 0.6em;
198 line-height: 1.2em;
199 vertical-align: top; }
200
201.reveal small * {
202 vertical-align: top; }
203
204/*********************************************
205 * LINKS
206 *********************************************/
207.reveal a {
208 color: #42affa;
209 text-decoration: none;
Bruce's Thinkpad0a618072016-07-14 01:23:09 +0800210 -webkit-transition: color .15s ease;
211 -moz-transition: color .15s ease;
212 transition: color .15s ease; }
JJ Allaireefa6ad42016-01-30 13:12:05 -0500213
214.reveal a:hover {
215 color: #8dcffc;
216 text-shadow: none;
217 border: none; }
218
219.reveal .roll span:after {
220 color: #fff;
221 background: #068de9; }
222
223/*********************************************
224 * IMAGES
225 *********************************************/
226.reveal section img {
227 margin: 15px 0px;
228 background: rgba(255, 255, 255, 0.12);
229 border: 4px solid #fff;
230 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
231
232.reveal section img.plain {
233 border: 0;
234 box-shadow: none; }
235
236.reveal a img {
Bruce's Thinkpad0a618072016-07-14 01:23:09 +0800237 -webkit-transition: all .15s linear;
238 -moz-transition: all .15s linear;
239 transition: all .15s linear; }
JJ Allaireefa6ad42016-01-30 13:12:05 -0500240
241.reveal a:hover img {
242 background: rgba(255, 255, 255, 0.2);
243 border-color: #42affa;
244 box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
245
246/*********************************************
247 * NAVIGATION CONTROLS
248 *********************************************/
249.reveal .controls .navigate-left,
250.reveal .controls .navigate-left.enabled {
251 border-right-color: #42affa; }
252
253.reveal .controls .navigate-right,
254.reveal .controls .navigate-right.enabled {
255 border-left-color: #42affa; }
256
257.reveal .controls .navigate-up,
258.reveal .controls .navigate-up.enabled {
259 border-bottom-color: #42affa; }
260
261.reveal .controls .navigate-down,
262.reveal .controls .navigate-down.enabled {
263 border-top-color: #42affa; }
264
265.reveal .controls .navigate-left.enabled:hover {
266 border-right-color: #8dcffc; }
267
268.reveal .controls .navigate-right.enabled:hover {
269 border-left-color: #8dcffc; }
270
271.reveal .controls .navigate-up.enabled:hover {
272 border-bottom-color: #8dcffc; }
273
274.reveal .controls .navigate-down.enabled:hover {
275 border-top-color: #8dcffc; }
276
277/*********************************************
278 * PROGRESS BAR
279 *********************************************/
280.reveal .progress {
281 background: rgba(0, 0, 0, 0.2); }
282
283.reveal .progress span {
284 background: #42affa;
285 -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
286 -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
287 transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }