-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
98 lines (75 loc) · 1.27 KB
/
main.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
94
95
96
97
/* * { */
/* border: 1px solid gray; */
/* } */
html, body {
padding: 0;
margin: 0;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
font-family: "Museo Sans Rounded", sans-serif;
color: white;
background-color: #1cb0f6;
}
.page-header {
display: flex;
justify-content: center;
font-size: 2rem;
}
.subtitle {
/* display: flex; */
/* justify-content: center; */
color: #4c4c4c;
font-size: 1.3em;
text-align: center;
padding: 0;
margin: 0;
}
.keys {
display: flex;
justify-content: center;
align-items: center;
height: 400px;
}
.key {
display: flex;
justify-content: center;
align-items: flex-end;
width: 60px;
height: 204px;
padding-bottom: 5px;
text-align: center;
transition: all .07s ease;
color: black;
background-color: white;
}
kbd {
display: flex;
justify-content: center;
font-family: "Museo Sans Rounded", sans-serif;
font-size: 4rem;
}
.sound {
color: #afafaf;
}
.key__black {
width: 40px;
height: 104px;
background-color: black;
}
.border-right {
border-right: 1px solid black;
}
.playing {
transform:scale(1.1);
}
@media only screen and (max-width: 768px) {
div.key__black {
display: none;
}
div.key {
border-right: 1px solid black;
}
}