-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (89 loc) · 1.47 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
94
95
96
97
98
99
100
101
body {
background-color: #161D46;
color: #EEE;
font-family: 'VT323', monospace;
padding: 0;
}
.title {
height: 10vh;
margin: 0;
text-align: center;
}
.blocks {
width: 100vw;
height: 80vh;
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
}
.block {
height: 100%;
width: 100%;
position: relative;
overflow: hidden;
cursor: pointer;
}
.instrument-name {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -100%);
font-size: 2rem;
z-index: -1;
}
.sound {
width: 1vw;
height: 1vh;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0);
border-radius: 50%;
transition: background-color .5s;
z-index: -1;
}
#synths > .sound {
background-color: #5A0BBF;
}
#synths:hover > .sound {
background-color: #A31EE2;
}
#keys > .sound {
background-color: #0BBF9B;
}
#keys:hover > .sound {
background-color: #03FFC3;
}
#drums > .sound {
background-color: #BF0B36;
}
#drums:hover > .sound {
background-color: #DF296A;
}
#bass > .sound {
background-color: #0B3DBF;
}
#bass:hover > .sound {
background-color: #1B47E3;
}
#controls {
height: 10vh;
display: flex;
justify-content: center;
align-items: center;
}
#playPause {
height: 100%;
width: 5vw;
display: flex;
justify-content: center;
align-items: center;
background-color: #00000000;
border: none;
font-size: 3rem;
cursor: pointer;
}
#playPause i {
color: #03FFC3;
}