-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathslides.css
145 lines (122 loc) · 2.37 KB
/
slides.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/* Request lanscape from the printer/browser */
@page {
size: landscape;
margin-bottom: 100px;
}
.md div.title {
margin-top: 250px;
margin-bottom: 40px;
font-size: 50px;
font-weight: bold;
counter-increment: page;
}
.md div.subtitle {
font-size: 30px;
}
.md hr {
page-break-before: always;
}
body#md {
width: 900px;
max-width: 100%;
font-size: 25px;
padding: 40px;
counter-reset: page;
--accent-color: #F61;
}
/* Disable section numbering */
.md h1:before {content: ""}
.md h2:before {content: ""}
.md svg.diagram {
zoom: 150%;
}
/* Sections become presentation sections */
.md h1, .md .nonumberh1 {
page-break-before: always;
width: 1100px;
text-align: center;
margin-top: 20px;
margin-bottom: 20px;
padding-top: 300px;
padding-bottom: 20px;
border: none;
color: var(--accent-color);
margin-left: -100px;
margin-right:-100px;
font-size: 50px;
counter-increment: page;
}
/* Subsections become slides */
.md h2, .md .nonumberh2 {
page-break-before: always;
width: 1100px;
text-align: center;
background: var(--accent-color);
color: #FFF;
margin-top: 100px;
margin-bottom: 50px;
padding-top: 20px;
padding-bottom: 20px;
border: none;
margin-left: -100px;
margin-right:-100px;
font-size: 34px;
counter-increment: page;
}
@media print{
footer {
position: fixed;
bottom: 0;
right: 0;
color: #AAA;
font-size: 50%;
}
}
@media screen {
footer { display: none }
.md h1, .md .nonumberh1 {
/* Show slide divisions */
border-top: 1px solid black;
}
}
/* Hide HR in printing */
@media print {
.md hr {
visibility: hidden;
}
}
.md hr {
counter-increment: page;
}
.md code {
font-size: 100%;
}
.md pre.listing {
font-size: 80%;
border: 1px solid #CCC;
}
.md strong, .md b {
color: var(--accent-color);
}
.md table {
font-size: 100%;
background-color: #eee;
}
.md table.table td {
border: none;
}
.md table.table th {
background-color: black;
color: white;
border: none;
font-family: Verdana,Helvetica,Arial,sans-serif;
}
.md table.table th + th {
border-left: 3px solid white;
}
.md table.table td + td {
border-left: 3px solid white;
}
.md table.table tr:nth-child(n) {
background-color: none;
}