-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (84 loc) · 1.58 KB
/
Copy pathstyles.css
File metadata and controls
102 lines (84 loc) · 1.58 KB
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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Nunito', sans-serif;
}
::selection {
user-select: none;
}
.container {
height: 100vh;
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
background: #efffee;
}
.btns {
text-align: center;
min-width: 40%;
display: flex;
justify-content: space-between;
align-items: center;
/* margin-right: 30px; */
padding: 0 10px;
}
#canvas {
border: 2px solid black;
background: #fff;
cursor: crosshair;
}
.btns {
border: 1px solid salmon;
padding: 5px 10px;
border-radius: 30px;
}
.btns .color {
height: 30px;
width: 30px;
border-radius: 50%;
border: 2px solid #fff;
cursor: pointer;
}
.btns .color.red {
background: red;
}
.btns .color.blue {
background: blue;
}
.btns .color.green {
background: green;
}
.btns .color.yellow {
background: yellow;
}
.btns .color:hover {
background: #fff;
transition: 0.3s;
}
.btns button {
border: 2px solid white;
background: rgb(219, 202, 46);
color: cornflowerblue;
padding: 4px 8px;
font-weight: bolder;
border-radius: 5px;
transition: 0.3s;
}
.btns button:hover {
background: rgb(240, 218, 26);
color: rgb(16, 99, 252)
}
.btns .color-picker {
border: 2px solid black;
cursor: grab;
}
.eraser {
cursor: url('./assets/eraser_cursor.svg'),auto;
}
.btns button img {
height: 20px;
width: 20px;
}