Debian Codegraph @

cmd/present/static/styles.css

raw symbols SCIP
1 @media screen {
2 /* Framework */
3 html {
4 height: 100%;
5 }
6
7 body {
8 margin: 0;
9 padding: 0;
10
11 display: block !important;
12
13 height: 100%;
14 height: 100vh;
15
16 overflow: hidden;
17
18 background: rgb(215, 215, 215);
19 background: -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
20 background: -moz-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
21 background: -webkit-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
22 background: -webkit-gradient(
23 radial,
24 50% 50%,
25 0,
26 50% 50%,
27 500,
28 from(rgb(240, 240, 240)),
29 to(rgb(190, 190, 190))
30 );
31
32 -webkit-font-smoothing: antialiased;
33 }
34
35 .slides {
36 width: 100%;
37 height: 100%;
38 left: 0;
39 top: 0;
40
41 position: absolute;
42
43 -webkit-transform: translate3d(0, 0, 0);
44 }
45
46 .slides > article {
47 display: block;
48
49 position: absolute;
50 overflow: hidden;
51
52 width: 900px;
53 height: 700px;
54
55 left: 50%;
56 top: 50%;
57
58 margin-left: -450px;
59 margin-top: -350px;
60
61 padding: 40px 60px;
62
63 box-sizing: border-box;
64 -o-box-sizing: border-box;
65 -moz-box-sizing: border-box;
66 -webkit-box-sizing: border-box;
67
68 border-radius: 10px;
69 -o-border-radius: 10px;
70 -moz-border-radius: 10px;
71 -webkit-border-radius: 10px;
72
73 background-color: white;
74
75 border: 1px solid rgba(0, 0, 0, 0.3);
76
77 transition: transform 0.3s ease-out;
78 -o-transition: -o-transform 0.3s ease-out;
79 -moz-transition: -moz-transform 0.3s ease-out;
80 -webkit-transition: -webkit-transform 0.3s ease-out;
81 }
82 .slides.layout-widescreen > article {
83 margin-left: -550px;
84 width: 1100px;
85 }
86 .slides.layout-faux-widescreen > article {
87 margin-left: -550px;
88 width: 1100px;
89
90 padding: 40px 160px;
91 }
92
93 .slides.layout-widescreen > article:not(.nobackground):not(.biglogo),
94 .slides.layout-faux-widescreen > article:not(.nobackground):not(.biglogo) {
95 background-position-x: 0, 840px;
96 }
97
98 /* Clickable/tappable areas */
99
100 .slide-area {
101 z-index: 1000;
102
103 position: absolute;
104 left: 0;
105 top: 0;
106 width: 150px;
107 height: 700px;
108
109 left: 50%;
110 top: 50%;
111
112 cursor: pointer;
113 margin-top: -350px;
114
115 tap-highlight-color: transparent;
116 -o-tap-highlight-color: transparent;
117 -moz-tap-highlight-color: transparent;
118 -webkit-tap-highlight-color: transparent;
119 }
120 #prev-slide-area {
121 margin-left: -550px;
122 }
123 #next-slide-area {
124 margin-left: 400px;
125 }
126 .slides.layout-widescreen #prev-slide-area,
127 .slides.layout-faux-widescreen #prev-slide-area {
128 margin-left: -650px;
129 }
130 .slides.layout-widescreen #next-slide-area,
131 .slides.layout-faux-widescreen #next-slide-area {
132 margin-left: 500px;
133 }
134
135 /* Slides */
136
137 .slides > article {
138 display: none;
139 }
140 .slides > article.far-past {
141 display: block;
142 transform: translate(-2040px);
143 -o-transform: translate(-2040px);
144 -moz-transform: translate(-2040px);
145 -webkit-transform: translate3d(-2040px, 0, 0);
146 }
147 .slides > article.past {
148 display: block;
149 transform: translate(-1020px);
150 -o-transform: translate(-1020px);
151 -moz-transform: translate(-1020px);
152 -webkit-transform: translate3d(-1020px, 0, 0);
153 }
154 .slides > article.current {
155 display: block;
156 transform: translate(0);
157 -o-transform: translate(0);
158 -moz-transform: translate(0);
159 -webkit-transform: translate3d(0, 0, 0);
160 }
161 .slides > article.next {
162 display: block;
163 transform: translate(1020px);
164 -o-transform: translate(1020px);
165 -moz-transform: translate(1020px);
166 -webkit-transform: translate3d(1020px, 0, 0);
167 }
168 .slides > article.far-next {
169 display: block;
170 transform: translate(2040px);
171 -o-transform: translate(2040px);
172 -moz-transform: translate(2040px);
173 -webkit-transform: translate3d(2040px, 0, 0);
174 }
175
176 .slides.layout-widescreen > article.far-past,
177 .slides.layout-faux-widescreen > article.far-past {
178 display: block;
179 transform: translate(-2260px);
180 -o-transform: translate(-2260px);
181 -moz-transform: translate(-2260px);
182 -webkit-transform: translate3d(-2260px, 0, 0);
183 }
184 .slides.layout-widescreen > article.past,
185 .slides.layout-faux-widescreen > article.past {
186 display: block;
187 transform: translate(-1130px);
188 -o-transform: translate(-1130px);
189 -moz-transform: translate(-1130px);
190 -webkit-transform: translate3d(-1130px, 0, 0);
191 }
192 .slides.layout-widescreen > article.current,
193 .slides.layout-faux-widescreen > article.current {
194 display: block;
195 transform: translate(0);
196 -o-transform: translate(0);
197 -moz-transform: translate(0);
198 -webkit-transform: translate3d(0, 0, 0);
199 }
200 .slides.layout-widescreen > article.next,
201 .slides.layout-faux-widescreen > article.next {
202 display: block;
203 transform: translate(1130px);
204 -o-transform: translate(1130px);
205 -moz-transform: translate(1130px);
206 -webkit-transform: translate3d(1130px, 0, 0);
207 }
208 .slides.layout-widescreen > article.far-next,
209 .slides.layout-faux-widescreen > article.far-next {
210 display: block;
211 transform: translate(2260px);
212 -o-transform: translate(2260px);
213 -moz-transform: translate(2260px);
214 -webkit-transform: translate3d(2260px, 0, 0);
215 }
216 }
217
218 @media print {
219 /* Set page layout */
220 @page {
221 size: A4 landscape;
222 }
223
224 body {
225 display: block !important;
226 }
227
228 .slides > article {
229 display: block;
230
231 position: relative;
232
233 page-break-inside: never;
234 page-break-after: always;
235
236 overflow: hidden;
237 }
238
239 h2 {
240 position: static !important;
241 margin-top: 400px !important;
242 margin-bottom: 100px !important;
243 }
244
245 pre {
246 background: rgb(240, 240, 240);
247 }
248
249 /* Add explicit links */
250 a:link:after,
251 a:visited:after {
252 content: ' (' attr(href) ') ';
253 font-size: 50%;
254 }
255
256 #help {
257 display: none;
258 visibility: hidden;
259 }
260 }
261
262 /* Styles for slides */
263
264 .slides > article {
265 font-family: 'Open Sans', Arial, sans-serif;
266
267 color: black;
268 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
269
270 font-size: 26px;
271 line-height: 36px;
272
273 letter-spacing: -1px;
274 }
275
276 b {
277 font-weight: 600;
278 }
279
280 a {
281 color: rgb(0, 102, 204);
282 text-decoration: none;
283 }
284 a:visited {
285 color: rgba(0, 102, 204, 0.75);
286 }
287 a:hover {
288 color: black;
289 }
290
291 p {
292 margin: 0;
293 padding: 0;
294
295 margin-top: 20px;
296 }
297 p:first-child {
298 margin-top: 0;
299 }
300
301 h1 {
302 font-size: 60px;
303 line-height: 60px;
304
305 padding: 0;
306 margin: 0;
307 margin-top: 200px;
308 margin-bottom: 5px;
309 padding-right: 40px;
310
311 font-weight: 600;
312
313 letter-spacing: -3px;
314
315 color: rgb(51, 51, 51);
316 }
317
318 h2 {
319 font-size: 45px;
320 line-height: 45px;
321
322 position: absolute;
323 bottom: 150px;
324
325 padding: 0;
326 margin: 0;
327 padding-right: 40px;
328
329 font-weight: 600;
330
331 letter-spacing: -2px;
332
333 color: rgb(51, 51, 51);
334 }
335
336 h3 {
337 font-size: 30px;
338 line-height: 36px;
339
340 padding: 0;
341 margin: 0;
342 padding-right: 40px;
343
344 font-weight: 600;
345
346 letter-spacing: -1px;
347
348 color: rgb(51, 51, 51);
349 }
350
351 ul {
352 margin: 0;
353 padding: 0;
354 margin-top: 20px;
355 margin-left: 1.5em;
356 }
357 li {
358 padding: 0;
359 margin: 0 0 0.5em 0;
360 }
361
362 div.code, div.output {
363 margin: 0;
364 padding: 0;
365 }
366
367 pre {
368 padding: 5px 10px;
369 margin-top: 20px;
370 margin-bottom: 20px;
371 overflow: hidden;
372
373 background: rgb(240, 240, 240);
374 border: 1px solid rgb(224, 224, 224);
375
376 font-family: 'Droid Sans Mono', 'Courier New', monospace;
377 font-size: 18px;
378 line-height: 24px;
379 letter-spacing: -1px;
380
381 color: black;
382 }
383
384 pre.numbers span:before {
385 content: attr(num);
386 margin-right: 1em;
387 display: inline-block;
388 }
389
390 code {
391 font-size: 95%;
392 font-family: 'Droid Sans Mono', 'Courier New', monospace;
393
394 color: black;
395 }
396
397 pre code {
398 font-size: 100%;
399 }
400
401 article > .image,
402 article > .video {
403 text-align: center;
404 margin-top: 40px;
405 }
406
407 article.background {
408 background-size: contain;
409 background-repeat: round;
410 }
411
412 table {
413 width: 100%;
414 border-collapse: collapse;
415 margin-top: 40px;
416 }
417 th {
418 font-weight: 600;
419 text-align: left;
420 }
421 td,
422 th {
423 border: 1px solid rgb(224, 224, 224);
424 padding: 5px 10px;
425 vertical-align: top;
426 }
427
428 p.link {
429 margin-left: 20px;
430 }
431
432 .pagenumber {
433 color: #8c8c8c;
434 font-size: 75%;
435 position: absolute;
436 bottom: 0px;
437 right: 10px;
438 }
439
440 /* Code */
441 pre {
442 outline: 0px solid transparent;
443 }
444 div.playground {
445 position: relative;
446 }
447 div.output {
448 position: absolute;
449 left: 50%;
450 top: 50%;
451 right: 40px;
452 bottom: 40px;
453 background: #202020;
454 padding: 5px 10px;
455 z-index: 2;
456
457 border-radius: 10px;
458 -o-border-radius: 10px;
459 -moz-border-radius: 10px;
460 -webkit-border-radius: 10px;
461 }
462 div.output pre {
463 margin: 0;
464 padding: 0;
465 background: none;
466 border: none;
467 width: 100%;
468 height: 100%;
469 overflow: auto;
470 }
471 div.output .stdout,
472 div.output pre {
473 color: #e6e6e6;
474 }
475 div.output .stderr,
476 div.output .error {
477 color: rgb(255, 200, 200);
478 }
479 div.output .system,
480 div.output .exit {
481 color: rgb(255, 230, 120);
482 }
483 .buttons {
484 position: relative;
485 float: right;
486 top: -60px;
487 right: 10px;
488 }
489 div.output .buttons {
490 position: absolute;
491 float: none;
492 top: auto;
493 right: 5px;
494 bottom: 5px;
495 }
496
497 /* Presenter details */
498 .presenter {
499 margin-top: 20px;
500 }
501 .presenter p,
502 .presenter .link {
503 margin: 0;
504 font-size: 28px;
505 line-height: 1.2em;
506 }
507
508 /* Output resize details */
509 .ui-resizable-handle {
510 position: absolute;
511 }
512 .ui-resizable-n {
513 cursor: n-resize;
514 height: 7px;
515 width: 100%;
516 top: -5px;
517 left: 0;
518 }
519 .ui-resizable-w {
520 cursor: w-resize;
521 width: 7px;
522 left: -5px;
523 top: 0;
524 height: 100%;
525 }
526 .ui-resizable-nw {
527 cursor: nw-resize;
528 width: 9px;
529 height: 9px;
530 left: -5px;
531 top: -5px;
532 }
533 iframe {
534 border: none;
535 }
536 figcaption {
537 color: #666;
538 text-align: center;
539 font-size: 0.75em;
540 }
541
542 #help {
543 font-family: 'Open Sans', Arial, sans-serif;
544 text-align: center;
545 color: white;
546 background: #000;
547 opacity: 0.5;
548 position: fixed;
549 bottom: 25px;
550 left: 50px;
551 right: 50px;
552 padding: 20px;
553
554 border-radius: 10px;
555 -o-border-radius: 10px;
556 -moz-border-radius: 10px;
557 -webkit-border-radius: 10px;
558 }