-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (89 loc) · 1.75 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
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body{
background-image: url(backg.jpg);
background-size: cover;
background-attachment: fixed;
background-repeat: no-repeat;
}
h2{
display: flex;
margin-top: 50px;
justify-content: center;
color: white;
line-height: 40px;
text-align: center;
}
.message{
display: flex;
flex-direction: column;
}
.keyboard{
display: flex;
justify-content: center;
margin-top: 10px;
}
.keys{
display: flex;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
.key{
width: 100px;
text-align: center;
background-color: rgba(255, 255, 255, 0.432);
margin: 0 30px;
color: black;
border: 2px solid white;
border-radius: 2px;
padding: 20px;
font-size: 2rem;
font-weight: 700;
transition: all 0.07s;
}
.sound{
text-align: center;
color:yellow;
font-size: 0.8rem;
display: block;
font-weight: 400;
}
.playing{
transform: scale(1.1);
border-color: blueviolet;
box-shadow: 0 0 10px blueviolet;
}
.sound-i{
position: absolute;
border-radius: 50%;
width: 80px;
bottom: 10%;
left: 1%;
}
@media screen and (max-width:600px) {
.key{
width: 70px;
margin: 0 10px;
font-size: 1.5rem;
text-align: center;
}
.sound{
font-size: 0.5rem;
text-align: center;
}
.sound-i{
width: 50px;
bottom: 5%;
}
h2{
font-size: 1rem;
line-break: 600px;
}
}