-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
60 lines (51 loc) · 793 Bytes
/
main.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
html, body {
margin: 0;
}
#canvas-container {
background: white;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
@keyframes control {
0% {
top: -2em;
}
100% {
top: 0;
}
}
.key-suggest, .control {
display: flex;
justify-content: center;
align-items: center;
background: maroon;
font-size: 1.4em;
color: white;
position: absolute;
top: -2em;
height: 2em;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
animation: 1s control forwards;
animation-delay: 1s;
}
.key-suggest {
left: 5vw;
}
.key-suggest i {
font-size: 1.1em;
padding: 0.5em;
}
.control {
right: 5vw;
}
.control .volume {
font-size: 0.5em;
padding: 1em;
margin: 0 1em;
}
.control i {
cursor: pointer;
}