-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (100 loc) · 2.31 KB
/
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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
body {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
background-color: #333333;
height: 100%;
}
.main-div {
max-width: 600px;
min-height: 600px;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: space-between;
background-color: white;
box-shadow: 0px 0px 8px 6px #616161;
}
.input-panel {
margin-top: 40px;
margin-bottom: 40px;
display: flex;
min-width: 600px;
flex-direction: row;
justify-content: space-between;
}
.button, .color-picker-panel {
padding: 7px;
border: solid 2px #fad100;
border-radius: 10px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
color: #fad100;
display: flex;
flex-direction: row;
align-items: center;
box-shadow: 0px 0px 2px 2px #3b3b3b;
}
.clear, .eraser {
padding-right: 20px;
padding-left: 20px;
}
.color-picker-panel {
display: flex;
flex-direction: row;
justify-content: space-around;
gap: 10px;
align-items: center;
}
input[type='color'] { /* controls the color picker circle */
-webkit-appearance: none;
width: 30px;
aspect-ratio: 1/1;
border: none;
background-color: #333333;
}
input[type='color']::-webkit-color-swatch-wrapper {
padding: 0;
}
input[type='color']::-webkit-color-swatch {
border: solid 3px black;
border-radius: 50%;
}
.clear:hover, .eraser:hover {
transform: scale(1.05);
transition: transform 0.1s ease-in-out;
}
.active {
background-color: #fad100;
color: #333333;
}
.clear:active {
background-color: #fad100;
color: #333333;
}
.grid-input-panel {
margin-top: 40px;
padding: 7px;
border: solid 2px #fad100;
border-radius: 10px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 21px;
color: #fad100;
display: flex;
flex-direction: row;
align-items: center;
box-shadow: 0px 0px 2px 2px #3b3b3b;
}
.sub-div {
background-color: white;
}
.row {
display: flex;
flex-direction: row;
justify-content: space-between;
max-width: 960px;
/* border: 1px dotted black; */
}
.sub-div, .main-div {
aspect-ratio: 1/1;
}