-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.screen.css
72 lines (63 loc) · 1.28 KB
/
index.screen.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
body {
color: #4c3106;
background-color: #faf8f2;
background-image: repeating-radial-gradient(circle at 50% 0, transparent 0, #d7d6d0 2em), repeating-linear-gradient(#cbc2bb55, #cbc2bb);
}
#content {
font-size: clamp(1rem, 1.7vw, 1.5rem);
}
h1 {
padding: 2rem 2rem 1rem;
margin: 0 auto 3rem;
font-size: clamp(1.5rem, 6vw, 300%);
line-height: 1.1;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.1em;
background: var(--secondary-color);
color: var(--secondary-fg-color);
text-align: center;
border-bottom-left-radius: 0.2rem;
border-bottom-right-radius: 0.2rem;
box-shadow: 0 1rem 2rem #0003;
}
#content-body {
padding: 3em 3em 5em;
border-radius: 0.2rem;
background: var(--dirty-bg);
box-shadow: inset 0 0 1em #54504263, 0 1em 2em #0003;
}
h2 {
font-size: 200%;
font-weight: 900;
margin: 3rem 0 2rem;
}
h3 {
font-weight: 900;
margin: 2rem 0 1rem;
}
#table-of-contents {
float: right;
padding: 2rem;
margin-bottom: 1em;
margin-left: 1em;
background: #fefcf6;
box-shadow: 0 0.2em 0.4em #0002;
}
@media (width < 50em) {
#table-of-contents {
float: none;
padding: 0;
margin-left: 0;
margin-bottom : 3em;
background: transparent;
box-shadow: none;
}
}
#table-of-contents h2 {
font-size: 120%;
margin: 0 0 1rem;
}
p, ul {
margin-bottom: 1em;
}