-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (124 loc) · 2 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
@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
user-select: none;
}
body {
min-height: 98vh;
background: #f8efba;
}
.clear-instruction {
border: 2px solid black;
width: 170px;
margin: 10px 0 0 10px;
z-index: 1;
padding-left: 5px;
}
.drawing {
position: absolute;
border-radius: 50%;
z-index: -1;
}
.shape {
position: absolute;
z-index: -1;
border: 5px solid black;
}
.color-pallette,
.thickness,
.shapes {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
height: 100px;
width: 170px;
margin: 10px 0 0 10px;
border: 2px solid black;
}
.color-pallette .red,
.color-pallette .green,
.color-pallette .blue,
.color-pallette .greenblue,
.color-pallette .black,
.color-pallette .purple {
height: 40%;
width: 30%;
cursor: pointer;
border-radius: 10px;
}
.color-pallette .red {
background: #ed553b;
}
.color-pallette .green {
background: #4ca26c;
}
.color-pallette .blue {
background: #163f5f;
}
.color-pallette .greenblue {
background: #58b19f;
}
.color-pallette .black {
background: black;
}
.color-pallette .purple {
background: #8f62e4;
}
.thickness,
.shapes {
height: 40px;
}
.shapes {
width: 70px;
}
.thickness .extra-small,
.thickness .small,
.thickness .medium,
.thickness .large {
background: black;
border-radius: 50%;
cursor: pointer;
}
.thickness .extra-small {
height: 30%;
width: 7%;
}
.thickness .small {
height: 40%;
width: 10%;
}
.thickness .medium {
height: 55%;
width: 15%;
}
.thickness .large {
height: 75%;
width: 20%;
}
.eraser {
display: flex;
justify-content: center;
align-items: center;
height: 40px;
width: 40px;
border: 2px solid black;
margin: 10px 0 0 10px;
user-select: none;
cursor: pointer;
}
.eraser i {
font-size: 25px;
}
.rectangle {
height: 50%;
width: 50%;
border: 4px solid black;
cursor: pointer;
}
.fill {
cursor: pointer;
}