-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathfeatures.css
More file actions
70 lines (52 loc) · 1.44 KB
/
features.css
File metadata and controls
70 lines (52 loc) · 1.44 KB
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
#features {
display: grid;
gap: 1rem;
padding-block: 4rem;
padding-inline: var(--page-padding-inline);
> p {
margin-block-end: 1rem;
}
> ul {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
gap: 2rem;
> li {
background-color: var(--color-gray-98);
box-shadow: var(--box-shadow-normal);
display: grid;
align-content: start;
justify-items: center;
padding: 1rem;
border-radius: var(--border-radius);
text-align: center;
.visual {
svg {
block-size: 1em;
inline-size: 1em;
font-size: 4rem;
path {
fill: var(--color);
}
}
}
.title {
color: var(--color);
margin-block-end: 1rem;
font-size: 1.5rem;
font-weight: 700;
}
&:nth-of-type(1) {
--color: hsl(10deg 70% 50%);
}
&:nth-of-type(2) {
--color: hsl(40deg 70% 50%);
}
&:nth-of-type(3) {
--color: hsl(90deg 70% 50%);
}
&:nth-of-type(4) {
--color: hsl(160deg 70% 50%);
}
}
}
}