forked from wesbos/JavaScript30
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (50 loc) · 917 Bytes
/
style.css
File metadata and controls
58 lines (50 loc) · 917 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
html {
background: url(https://scontent-ort2-2.cdninstagram.com/vp/fd321c90ddd48898e42d7da58dc53585/5BDA0457/t51.2885-15/e35/19121196_1974023296160144_6525512982984654848_n.jpg) center;
background-size: cover;
font-family: 'Electrolize', sans-serif;
}
.lambda {
text-align: center;
font-size: .5em;
margin: 0;
padding: .5em;
line-height: 1em;
}
body,html {
margin: 0;
padding: 0;
}
#main {
text-align: center;
cursor: pointer;
}
.keys {
display: flex;
flex: 1;
min-height: 100vh;
align-items: center;
justify-content: center;
}
.key {
border: 1px solid gray;
display: cursor;
border-radius: .2rem;
transition: all .02s ease;
padding: .5em;
margin: .5em;
height: 5em;
width: 5em;
text-align: center;
color: white;
background: rgba(0,0,0,0.4);
}
.playing {
transform: scale(1.2);
}
kbd {
display: block;
font-size: 2rem;
}
.sound {
color: #333;
}