-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (89 loc) · 1.68 KB
/
style.css
File metadata and controls
97 lines (89 loc) · 1.68 KB
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
*{
margin: 0;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Cabin Condensed', sans-serif;
background-color: rgb(51, 51, 51);
color: whitesmoke;
}
.container {
display: flex;
flex-direction: column;
gap: 20px;
}
h1 {
text-align: center;
padding-bottom:10px;
border-bottom: 1px solid rgba(12, 12, 12, 0.84);
}
.row {
display: flex;
flex-direction: row;
gap: 20px;
}
.button {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
position: relative;
border: 1px solid #666;
padding: 20px;
border-radius: 10px;
height: 12em;
width: 12em;
box-shadow:
0 10px 5px rgb(0, 0, 0),
inset 0 0 10px rgb(138, 138, 138);
background-color:rgb(70, 70, 70);
-webkit-tap-highlight-color: rgba(0,0,0,0);
transition: all .07s ease;
}
.button:hover {
cursor: pointer;
}
.playing {
box-shadow: 0 5px 5px rgb(0, 0, 0);
transform: translateY(2px);
}
.playing .light{
background-color: rgb(255, 0, 51);
box-shadow:
inset 0 0 10px rgb(131, 14, 37),
0 0 10px rgb(248, 65, 102);
}
.light {
position: absolute;
top: 10px;
right: 10px;
height: 20px;
width: 20px;
border-radius: 50%;
border: none;
margin-bottom: 50px;
border-width: 2px;
background-color: rgb(12, 12, 12);
box-shadow:inset 0 0 15px rgb(37, 37, 37);
}
.sound {
font-size: 2rem;
}
.key {
font-size: 5rem;
}
@media (max-width: 1020px) {
.key {
display:none;
}
.button {
height: 6em;
width: 6em;
}
.sound {
font-size: 1.2rem;
}
}