-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
92 lines (80 loc) · 1.26 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
92
*,
*:before,
*:after {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
-moz-osx-font-smoothing: subpixel-antialiased;
-webkit-font-smoothing: grayscale;
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
}
:root {
--neutral: #e2e8f0;
--light: #f1f5f9;
--dark: #cbd5e1;
--text: #0f172a;
}
div {
display: grid;
place-items: center;
gap: 1rem;
padding: 1rem;
}
header {
display: grid;
gap: 0.5rem;
}
button,
video {
all: unset;
background: var(--neutral);
padding: 0.5rem 1rem;
border-radius: 8px;
color: var(--text);
font-weight: 500;
cursor: pointer;
transition: background-color 0.1s ease-out;
border: 1px solid var(--dark);
border-radius: 8px;
max-width: 100%;
}
button {
display: grid;
gap: 0.25rem;
grid-auto-flow: column;
justify-items: start;
}
video {
overflow: hidden;
padding: 0;
object-fit: contain;
}
button:hover {
background: var(--light);
}
footer {
color: var(--dark);
text-align: center;
}
a,
a:visited {
color: currentColor;
}
details {
text-align: left;
max-width: 100%;
color: var(--text);
padding: 2rem;
text-align: left;
}
article {
max-width: 66ch;
display: grid;
padding-top: 2rem;
grid-gap: 1rem;
}
p,
li {
line-height: 1.5;
}