forked from wesbos/JavaScript30
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·52 lines (47 loc) · 866 Bytes
/
style.css
File metadata and controls
executable file
·52 lines (47 loc) · 866 Bytes
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
html {
font-size: 10px;
/*background:url(http://i.imgur.com/b9r5sEL.jpg) bottom center;*/
/*background-size: cover;*/
background-color: #808080;
}
body,html,kbd {
margin: 0;
padding: 0;
font-family: "Helvetica",sans-serif;
overflow: hidden;
}
.keys {
display:flex;
flex:1;
min-height:100vh;
align-items: center;
justify-content: center;
}
.key {
border:4px solid black;
border-radius:5px;
margin:0.5rem;
font-size: 1.6rem;
padding:1rem .5rem;
transition:all 0.1s;
width:100px;
text-align: center;
color:white;
background:rgba(0,0,0,0.8);
text-shadow:0 0 5px black;
}
.playing {
transform:scale(1.2);
border-color:#ffc600;
box-shadow: 0 0 10px #ffc600;
}
kbd {
display: block;
font-size: 40px;
}
.sound {
font-size: 1.2rem;
/*text-transform: uppercase;*/
letter-spacing: 0.2rem;
color:#ffc600;
}