-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
63 lines (56 loc) · 1018 Bytes
/
Copy pathstyle.css
File metadata and controls
63 lines (56 loc) · 1018 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: url(./images/nainoa-shizuru-NcdG9mK3PBY-unsplash.jpg);
background-attachment: fixed;
background-size: contain;
background-position: center;
}
.container {
display: flex;
flex-wrap: wrap;
}
.overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0,0,0,0.2);
}
.drum {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 20px;
height: 100px;
width: 100px;
color: white;
border: 2px solid #ffcc02;
background: rgba(0,0,0,0.5);
z-index: 100;
font-family: 'Roboto Mono', monospace;
}
.drum kbd{
font-size: 3em;
}
.drum span{
color: #ffcc02;
font-size: 1em;
}
.drum:hover{
transform: scale(1.07);
}
.playing {
transform: scale(1.2) !important; /*to override the scale from hover*/
border: 2px solid #ffcc02;
box-shadow: 0px 0px 20px 5px #ffcc02;
}