-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-styles.css
73 lines (73 loc) · 1.36 KB
/
index-styles.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
* {
box-sizing: border-box;
}
a, a:link {
color: rgb(169, 0, 116);
font-weight: bold;
}
html, body {
margin: 0;
padding: 0;
}
body {
margin: 0;
font-size: 24px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
header {
background: rgb(32, 32, 64) url(images/header-wave.png) no-repeat;
background-position: center bottom;
color: #fff;
padding: 3em 0;
position: relative;
text-align: center;
}
header h1 {
margin-top: 0;
}
main {
margin: 0 auto 2em;
padding: 0 1em;
max-width: 540px;
}
#resources main {
max-width: 900px;
}
main h2, main h3, main p {
text-align: center;
}
main details {
margin-bottom: 1.5em;
}
main details summary {
font-weight: bold;
}
main .exercise-list {
list-style: none;
}
#resources main .exercise-list {
columns: 2;
gap: 3em;
list-style: initial;
}
main .exercise-list > li {
border-bottom: 2px solid #ddd;
margin-bottom: 1em;
margin-top: 1em;
padding-bottom: 1em;
}
#resources main .exercise-list > li {
border-bottom: none;
margin-top: 0;
}
footer {
font-size: 1rem;
margin: 2em 0;
text-align: center;
}
@media screen and (max-width: 640px) {
#resources main .exercise-list {
columns: 1;
}
}