-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (79 loc) · 1.6 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.container {
display: flex;
flex-direction: column;
height: 100vh;
}
.container .heading {
min-height: 200px;
background-color: #000;
padding-bottom: 30px;
}
.container .heading h1 {
text-align: center;
padding: 20px;
color: white;
font-size: 20px;
font-weight: 600;
font-family: 'Press Start 2P', cursive;
}
.container .art {
max-height: calc(100vh - 200px);
display: flex;
flex-wrap: wrap;
justify-content: space-between;
overflow: hidden;
}
.container .art div {
border: 1px solid #ddd;
/* cursor: pointer; */
background-color: transparent;
transition: all 0.1s;
aspect-ratio: 1/1;
}
.container .toolbar .color {
display: flex;
flex-wrap: wrap;
/* gap: 1px; */
justify-content: space-between;
}
.container .toolbar .color div {
width: 20px;
aspect-ratio: 1/1;
border: 1px solid #000;
}
.buttons {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
gap: 5px;
flex-wrap: wrap;
}
.buttons .btn {
width: 150px;
height: 30px;
background-color: #000;
border: 1px solid #fff;
color: #fff;
cursor: pointer;
}
.buttons .btn:hover {
animation: shake 0.2s linear;
}
@keyframes shake {
0% {
transform: translateX(0);
}
50% {
transform: translateX(5px);
}
100% {
transform: translateX(-5px);
}
}