-
Notifications
You must be signed in to change notification settings - Fork 3
/
demo.css
75 lines (64 loc) · 1.07 KB
/
demo.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
:root {
--box-size: 128px;
--column-count: 11;
}
body {
font-family: "helvetica neue", helvetica, arial;
font-weight: bold;
margin: 0;
padding: 0;
font-size: 18px;
color: white;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
li {
display: block;
}
ul.palettes {
width: calc(var(--column-count) * var(--box-size));
margin: 0 auto;
text-align: center;
}
ul.palettes.heading > li {
color: #000 !important;
opacity: 0.5;
margin: 0;
height: 30px;
}
ul.palettes > li {
display: inline-block;
margin: 80px 0;
height: var(--box-size);
}
ul.swatches {
float: none;
clear: both;
overflow: hidden;
}
ul.swatches > li {
width: var(--box-size);
height: var(--box-size);
line-height: var(--box-size);
float: left;
text-align: center;
/* border-radius: 100%; */
}
ul.swatches > li img {
width: 100%;
height: 100%;
}
ul.swatches > li.picked, ul.swatches > li.icon {
margin-left: var(--box-size);
}
/* li > div {
float: left;
width: 150px;
height: 150px;
line-height: 150px;
text-align: center;
color: white;
} */