-
Notifications
You must be signed in to change notification settings - Fork 12
/
style.css
91 lines (76 loc) · 1.28 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
:root {
--teal: #28a496;
--teal-link: #207e76;
--app-bg: #F6F7F9;
--app-text: #0D121C;
--code-bg: #D9E1E4;
--code-text: #2C3437;
}
@media (prefers-color-scheme: dark) {
:root{
--teal-link: #22d3ee;
--app-bg: #0D121C;
--app-text: #F6F7F9;
--code-bg: #2C3437;
--code-text: #D9E1E4;
}
}
body {
font-family: 'Open Sans', sans-serif;
line-height: 150%;
color: var(--app-text);
background-color: var(--app-bg);
}
a {
color: var(--teal-link);
}
a:hover {
text-decoration: none;
}
h1 a {
color: inherit;
text-decoration: inherit;
}
h1, h2 {
font-family: 'Baloo Tamma', cursive;
line-height: 100%;
}
h1 {
font-size: 3em;
margin-bottom: 0;
}
h2 {
font-size: 2.3em;
}
section, div {
max-width: 700px;
padding: 2em 30px;
margin: 0 auto;
}
header {
background-color: var(--teal);
color: white;
}
main > section {
box-shadow: 0 1px 3px gray;
background-color: white;
margin-top: 2em;
background-color: var(--app-bg);
color: var(--app-text);
}
main > section:first-child {
margin-top: -2em;
}
.instructions > li {
padding-bottom: 2rem;
}
code {
background-color: var(--code-bg);
color: var(--code-text);
padding: 2px 4px
}
blockquote {
border-left: 5px solid var(--teal);
padding-left: 1em;
margin-left: 0;
}