-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
63 lines (56 loc) · 1.01 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
* {
margin: 0;
padding: 0;
line-height: 0.5;
}
.body {
color: #4c5c68;
font-size: 16px;
}
.container-fluid {
background-image: url('images/concert.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.keys {
display: flex;
flex-wrap: wrap;
align-content: center;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.key {
border: 4px solid black;
border-radius: 5px;
margin: 1rem;
font-size: 1.5rem;
padding: 1rem 0.5rem;
transition: all 0.07s;
width: 100px;
text-align: center;
color: white;
background: rgba(0, 0, 0, 0.4);
text-shadow: 0 0 5px black;
}
.playing {
transform: scale(1.1);
border-color: #ffc600;
box-shadow: 0 0 10px #ffc600;
}
kbd {
display: block;
font-size: 1.5rem;
font-weight: 200;
font-family: monospace;
background-color: rgba(0, 0, 0, 0);
border-radius: 0;
padding: 0.2em;
}
.sound {
font-size: 0.5rem;
color: #ffc600;
text-transform: uppercase;
letter-spacing: 1px;
}