-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.css
211 lines (177 loc) · 3.13 KB
/
theme.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
/*
* Forked from the Night theme.
*/
/*
* Global styles
*/
:root {
--color-swit-blue: #243142;
--color-swit-orange: #fba61a;
--color-swit-yellow: #f8d02d;
--color-base-0: #000;
--color-base-1: #111;
--color-base-2: #222;
--color-base-3: #333;
--color-base-6: #666;
--color-base-7: #999;
--color-base-8: #eee;
--color-base-9: #fff;
--fs-0: calc(32rem/40);
--fs-1: 1rem;
--fs-2: 2rem;
--fs-3: 3rem;
}
html {
font-size: 40px;
}
.reveal-viewport {
--color-accent: var(--color-swit-yellow);
--color-bg: var(--color-swit-blue);
--color-text: var(--color-base-9);
background-color: var(--color-bg);
color: var(--color-text);
font-family: "Open Sans", sans-serif;
line-height: 1.2;
}
.reveal-viewport--primary {
--color-accent: var(--color-swit-blue);
--color-bg: var(--color-swit-yellow);
--color-text: var(--color-swit-blue);
}
.reveal ::selection {
background: var(--color-accent);
color: var(--color-bg);
}
.reveal .controls,
.reveal .progress {
color: var(--color-accent);
}
/*
* Content
*/
.reveal h1,
.reveal h2 {
font-weight: bold;
margin: 0 0 0.5rem;
word-wrap: break-word;
}
.reveal h1 {
font-size: 2.5rem;
}
.reveal h2 {
font-size: 2rem;
}
.reveal p {
margin: 0 0 0.5rem;
}
.reveal iframe,
.reveal img,
.reveal video {
max-height: 95%;
max-width: 95%;
}
.reveal ol,
.reveal ul {
display: inline-block;
margin: 0 0 0.5rem 1rem;
text-align: left;
}
.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
display: block;
margin-left: 1rem;
}
.reveal li + li {
margin-top: 0.5rem;
}
.reveal blockquote {
border-color: var(--color-accent);
border-style: solid;
border-width: 0.1rem 0;
display: block;
margin: 1rem auto;
padding-top: 0.5rem;
text-align: left;
width: 80%;
}
.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
display: inline-block;
}
.reveal em {
font-style: italic;
}
.reveal q {
font-style: italic;
}
.reveal strong {
font-weight: bold;
}
.reveal table {
border-collapse: collapse;
border-spacing: 0;
margin: 0 auto 0.5rem;
}
.reveal table th {
font-weight: bold;
}
.reveal table th,
.reveal table td {
border-bottom: 1px solid;
padding: 0.25rem;
text-align: left;
}
.reveal table th[align="center"],
.reveal table td[align="center"] {
text-align: center;
}
.reveal table th[align="right"],
.reveal table td[align="right"] {
text-align: right;
}
.reveal footer {
font-size: var(--fs-0);
margin-top: 1.5rem;
}
.reveal a {
color: inherit;
text-decoration-color: var(--color-accent);
}
.reveal figure {
margin: 1rem auto;
width: fit-content;
}
.reveal figcaption,
.sr-only {
border-width: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}
/*
* Print
*/
@media print {
.reveal-viewport {
background-color: var(--color-base-9);
}
.reveal {
color: var(--color-base-0);
}
}
/*
* Plugins
*/
/* https://github.com/marcysutton/reveal-a11y/issues/7 */
.reveal.overview .slides section > .accessibilityWrapper {
display: block;
outline: none;
visibility: visible;
}