-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
93 lines (70 loc) · 1.36 KB
/
index.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
main {
background-image: url('bg3.webp');
background-repeat: no-repeat;
background-size: cover;
height: 98vh;
background-position: center;
/* background-color: black; */
}
.contain {
height: 100%;
display: flex;
justify-content: center;
flex-wrap: wrap;
align-items: center;
align-content: center;
}
.key {
height: 80px;
width: 6%;
align-items: center;
margin-left: 2%;
background: transparent;
border: 5px solid black;
box-shadow: 5px 6px 10px black;
color: wheat;
font-size: 40px;
transition: 0.07s;
display: inline-flex;
justify-content: center;
}
.key .sound {
font-size: 9px;
position: relative;
bottom: -30px;
left: -30%;
color: rgb(199, 151, 5);
align-items: center;
text-align: center;
}
kbd {
padding-left: 35%;
}
.playing {
border: 3px solid rgb(199, 151, 5);
transform: scale(1.1);
}
.key:hover {
border: 3px solid rgb(199, 151, 5);
transform: scale(1.1);
}
@media screen and (max-width: 1300px) {
main {
background-position: 70%;
}
.key {
width: 9%;
margin-top: 3%;
}
}
@media screen and (max-width: 800px) {
.key {
width: 17%;
/* margin-top: 5%; */
}
}