-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
73 lines (72 loc) · 1.24 KB
/
styles.css
File metadata and controls
73 lines (72 loc) · 1.24 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
@import "reset.css";
body {
display: flex;
gap: 20px;
justify-content: space-between;
align-items: flex-start;
background-color: gainsboro;
padding: 20px;
font-family: sans-serif;
}
canvas {
width: 800px;
height: 800px;
background-color: white;
border-radius: 10px;
}
body {
display: flex;
justify-content: center;
align-items: center;
}
.color-option {
width: 50px;
height: 50px;
border-radius: 25px;
cursor: pointer;
transition: transform ease-in-out 0.1s;
}
.color-options {
display: flex;
flex-direction: column;
gap: 10px;
}
.color-option:hover {
transform: scale(1.2);
}
.btns {
display: flex;
flex-direction: column;
gap: 10px;
}
button,
label {
all: unset;
padding: 10px 0px;
text-align: center;
background-color: rgb(149, 164, 170);
color: white;
font-weight: 500;
cursor: pointer;
border-radius: 10px;
transition: opacity linear 0.3s;
}
button:hover {
opacity: 0.85;
}
input#text {
all: unset;
padding: 10px 0px;
text-align: center;
border-radius: 10px;
font-weight: 500;
background-color: white;
}
input#file {
display: none;
}
@media (max-width: 768px) {
body { flex-direction: column; }
canvas { width: 100%; height: 60vh; }
.color-options { flex-direction: row; }
}