This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
135 lines (104 loc) · 1.89 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/* TODO: MORE RESPONSIVE DESIGN */
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
body{
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
}
h1{
color: white;
}
.container{
display: flex;
margin-top: 25px;
}
.interactions{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding: 10px;
gap: 10px;
margin-right: 25px;
font-size: 1rem;
width: 20vw;
max-width: 230px;
height: max-content;
border: 3px solid white;
border-radius: 5px;
}
.togglesAndButtons{
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
width: 100%;
gap: 10px;
}
.buttonMenu button{
width: 100px;
height: 50px;
padding: 10px;
font-size: 0.9rem;
}
.togglesAndButtons input{
width: 30px;
height: 30px;
}
.backToDefault{
display: flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
background-color: black;
border: none;
line-height: 30px;
font-size: 1.75rem;
cursor: pointer;
}
#rainbowToggle{
accent-color: green;
}
#darkeningToggle{
accent-color: gray;
}
#overrideToggle{
accent-color: red;
}
#eraserToggle{
accent-color: pink;
}
p{
color: white;
}
.drawingGrid{
width: calc(100vw - 10vw - 25px);
max-width: 960px;
height: 960px;
padding: 25px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
flex: 1 1 0;
border: 3px solid white;
border-radius: 5px;
user-drag: none;
-webkit-user-drag: none;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.square{
transition: 0.15s;
}