-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (58 loc) · 1.1 KB
/
style.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
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
}
/* Variables */
:root {
--eggshell: #fafafa;
--mine-shaft: #212121;
--border-size: 1rem;
}
/* Typo */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background: var(--eggshell);
color: var(--mine-shaft);
font-size: 5vh;
line-height: 1.5;
}
main {
height: 100vh;
outline: solid 3px blue;
overflow-y: scroll;
scroll-snap-type: y mandatory;
display: flex;
flex-direction: column;
}
.horizontal {
flex-direction: row;
}
h1, h2, h3, h4, h5 {
line-height: 1;
max-width: 80%;
padding-bottom: 1rem;
}
/* The usual */
ul {
margin-left: 2rem;
}
img {
max-width: 100%;
}
blockquote {
font-style: italic;
}
/* Slides */
section {
min-width: 100vw;
min-height: 100vh;
padding: 5rem;
outline: dotted 1px var(--mine-shaft);
scroll-snap-align: start;
}
section > * + * {
margin-top: 2rem;
}