-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
98 lines (84 loc) · 1.4 KB
/
main.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
93
94
95
96
97
98
body {
display: grid;
margin: 0;
grid-template: auto 1fr/1fr;
background-color: gray;
}
.save, .reset {
height: 3rem;
cursor: pointer;
}
.save:hover, .reset:hover {
transition: 70ms;
transform: scale(1.2);
}
.navBar {
background-color: #cccccc;
display: grid;
grid-template: 1fr/3rem auto auto auto 1fr;
gap: 1rem;
padding: 0.25rem;
align-items: center;
}
.navBar__icons {
width: 3rem;
}
.navBar__colorpicker input {
height: 100%;
}
.navBar__colorpicker {
height: 100%;
}
.navBar__swatches {
display: grid;
align-content: center;
grid-template: 2rem 2rem/2rem 2rem 2rem 2rem 2rem;
gap: 2px;
}
.navBar__brush div img {
height: 2rem;
}
.navBar__brush {
display: grid;
align-items: center;
height: 6rem;
}
.navBar__brush div {
display: flex;
gap: 0.5rem;
}
.navBar__ball {
aspect-ratio: 1;
border-radius: 50%;
background-color: black;
}
.drawArea {
margin: 0.8rem;
}
#draw {
cursor: url("images/pencil.png") 0 32, pointer;
}
.swatch {
cursor: pointer;
}
.swatch:hover {
transition: 70ms;
transform: scale(1.2);
}
@media (width <= 600px) {
.navBar {
grid-template: 1fr 1fr/5rem 10rem 5rem;
justify-items: center;
gap: 10px;
padding-top: 0.8rem;
}
.navBar__ball {
grid-column: 3/-1;
}
.navBar__brush {
margin-left: 10rem;
}
.navBar__colorpicker {
margin-right: 3rem;
}
}/*# sourceMappingURL=main.css.map */