-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
61 lines (54 loc) · 1.1 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
height: 10px;
}
body {
background-image: url("https://images.unsplash.com/photo-1554324042-88b7823c4c43?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1950&q=80");
width: 100vw;
height: 100vh;
}
.keys {
min-width: 100vw;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto;
}
.key {
height: 3rem;
width: 3rem;
color: lawngreen;
padding: 2.4rem;
margin: 0 1rem;
transition: all 0.07s;
border: 4px solid lawngreen;
/* background-color: yellow; */
display: flex;
justify-content: space-around;
flex-direction: column;
align-items: center;
flex-wrap: nowrap;
background: rgba(0, 0, 0, 0.4);
text-shadow: 0 0 5px black;
}
.playing {
transform: scale(1.1);
border-color: salmon;
box-shadow: 0 0 10px salmon;
}
.key kbd {
display: block;
font-size: 2.4rem;
font-weight: bold;
}
.sound {
font-size: 1rem;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
text-transform: uppercase;
letter-spacing: 1px;
}