-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (60 loc) · 904 Bytes
/
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
body,
select {
font-family: 'Open Sans', sans-serif;
margin: 0;
}
/* https://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
html {
box-sizing: border-box;
font-size: 62.5%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.all-box,
select {
width: 100%;
}
select {
position: fixed;
z-index: 3;
}
.all-box {
margin: 0 auto;
padding-top: 2.25rem;
display: flex;
flex-flow: row wrap;
justify-content: start;
}
.json-box {
position: absolute;
top: 2.25rem;
z-index: 2;
}
.box-color {
text-align: center;
flex-grow: 1;
padding: 5px;
cursor: crosshair;
border-right: 1px dashed black;
border-bottom: 1px dashed black;
transition-property: font-size;
transition-duration: .8s;
}
.box-color,
select,
.json-box {
font-size: 1.5rem;
}
.box-color:hover {
flex-basis: 22%;
font-size: 2.25rem;
}
span {
display: block;
}
.none {
display: none;
}