-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdefault.css
More file actions
46 lines (40 loc) · 727 Bytes
/
default.css
File metadata and controls
46 lines (40 loc) · 727 Bytes
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
ul.colors {
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 12px;
list-style: none;
margin: 0;
padding: 0;
}
@media screen and (min-width: 480px) {
ul.colors {
grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (min-width: 800px) {
ul.colors {
grid-template-columns: repeat(3, 1fr);
}
}
@media screen and (min-width: 1050px) {
ul.colors {
grid-template-columns: repeat(4, 1fr);
}
}
ul.colors li {
display: flex;
align-items: center;
height: 32px;
font-size: 0.9rem;
}
ul.colors .color-marker {
display: inline-flex;
flex-shrink: 0;
height: 24px;
width: 24px;
border-radius: 24px;
border: 2px solid black;
}
ul.colors code {
margin: 0 .5em;
}