-
Notifications
You must be signed in to change notification settings - Fork 0
/
slimd.css
60 lines (55 loc) · 1.69 KB
/
slimd.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* Main presentation and page sizes */
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.slimd-presentation {
position: absolute;
overflow: hidden;
}
.slimd-slide {
position: relative;
overflow: hidden;
}
@media screen {
.slimd-presentation, .slimd-slide { width: 29.7cm; height: 16.70625cm; }
.slimd-presentation.a4, .slimd-presentation.a4 .slimd-slide { width: 29.7cm; height: 21cm; }
.slimd-presentation.m43, .slimd-presentation.m43 .slimd-slide { width: 29.7cm; height: 22.275cm; }
}
@media print {
.slimd-slide { width: 29.7cm; height: 16.70625cm; }
.slimd-presentation.a4 .slimd-slide { width: 29.7cm; height: 21cm; }
.slimd-presentation.m43 .slimd-slide { width: 29.7cm; height: 22.275cm; }
}
html { font-size: 0.297cm; }
@media screen {
body { background-color: #d7d8d2; }
.slimd-presentation { background-color: #fff; box-shadow: 0px 0px 30px #888; }
.slimd-slide { display: none; }
.slimd-slide-visible { display: block !important; }
}
@media print {
.slimd-presentation { transform: none !important }
.slimd-slide { page-break-inside: avoid }
.slimd-presentation.handout .slimd-slide.has-continuation { display: none; }
}
/* Image containers */
.slimd-image-container { display: inline-table; table-layout: fixed; vertical-align: middle; }
.slimd-image-container>span { display: table-cell; }
/* Screen blanker */
@media screen {
.slimd-presentation.blank {
position: fixed !important;
left: 0 !important; width: 100% !important;
top: 0 !important; height: 100% !important;
}
.slimd-presentation.blank::after {
content: "";
position: fixed !important;
left: 0 !important; width: 100% !important;
top: 0 !important; height: 100% !important;
background-color: black;
z-index: 9999;
}
}