-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
87 lines (75 loc) · 1.47 KB
/
styles.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
@import "reset.css";
body {
display: flex;
gap: 20px;
justify-content: space-between;
align-items: flex-start;
background-color: gainsboro;
padding: 20px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
canvas {
width: 800px;
height: 800px;
border: 5px solid black;
background-color: white;
border-radius: 10px;
}
body {
display: flex;
justify-content: center;
align-items: center;
}
.color-options {
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
}
.color-option {
width: 45px;
height: 45px;
border-radius: 17px;
cursor: pointer;
border: 5px solid white;
border-radius: 50%;
transition: transform ease-in-out .1s;
}
.color-option:hover {
transform: scale(1.2);
}
.btns {
display: flex;
flex-direction: column;
gap: 20px;
}
input#color {
width: 50px;
height: 50px;
overflow: hidden;
}
button, label {
all: unset;
padding: 10px;
text-align: center;
background-color: royalblue;
color: white;
font-weight: 500;
cursor: pointer;
border-radius: 10px;
transition: opacity linear .3s;
}
button:hover {
opacity: .5;
}
input#text {
all:unset;
padding: 10px 0px;
border-radius: 10px;
text-align: center;
font-weight: 500;
background-color: white;
}
input#file {
display: none;
}