-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
42 lines (42 loc) · 899 Bytes
/
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
*{
color: blanchedalmond;
font-family: 'Times New Roman', Times, serif;
}
body{
background: url('background.jpg') no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
box-sizing: border-box;
}
.key{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 10vh;
width: 10vh;
border: 0.15rem solid white;
position: relative;
top: 40vh;
box-sizing: border-box;
margin: 0 3vw;
padding: 1rem;
transition: all 0.7s ease-in;
box-shadow: 0 0 2px white;
background: rgba(0, 0, 0, 0.4);
}
.key kbd{
font-size: 2rem;
}
.playing{
transform: scale(1.1);
border-color: #fcff33;
box-shadow: 0 0 5px white;
}
.sound{
font-size: 0.8rem;
color: #fcff33;
}