File tree 1 file changed +19
-19
lines changed
1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
1
html {
2
2
font-size : 10px ;
3
- background : url (http://i.imgur.com/b9r5sEL.jpg) bottom center;
3
+ background : url (http://i.imgur.com/b9r5sEL.jpg) bottom center;
4
4
background-size : cover;
5
5
}
6
6
body , html {
@@ -10,41 +10,41 @@ body,html {
10
10
}
11
11
12
12
.keys {
13
- display : flex;
14
- flex : 1 ;
15
- min-height : 100vh ;
13
+ display : flex;
14
+ flex : 1 ;
15
+ min-height : 100vh ;
16
16
align-items : center;
17
17
justify-content : center;
18
18
}
19
19
20
20
.key {
21
- border : 4 px solid black;
22
- border-radius : 5 px ;
23
- margin : 1rem ;
21
+ border : .4 rem solid black;
22
+ border-radius : .5 rem ;
23
+ margin : 1rem ;
24
24
font-size : 1.5rem ;
25
- padding : 1rem .5rem ;
26
- transition : all .07s ;
27
- width : 100 px ;
25
+ padding : 1rem .5rem ;
26
+ transition : all .07s ease ;
27
+ width : 10 rem ;
28
28
text-align : center;
29
- color : white;
30
- background : rgba (0 , 0 , 0 , 0.4 );
31
- text-shadow : 0 0 5 px black;
29
+ color : white;
30
+ background : rgba (0 , 0 , 0 , 0.4 );
31
+ text-shadow : 0 0 .5 rem black;
32
32
}
33
33
34
34
.playing {
35
- transform : scale (1.1 );
36
- border-color : # ffc600 ;
37
- box-shadow : 0 0 10 px # ffc600 ;
35
+ transform : scale (1.1 );
36
+ border-color : # ffc600 ;
37
+ box-shadow : 0 0 1 rem # ffc600 ;
38
38
}
39
39
40
40
kbd {
41
41
display : block;
42
- font-size : 40 px ;
42
+ font-size : 4 rem ;
43
43
}
44
44
45
45
.sound {
46
46
font-size : 1.2rem ;
47
47
text-transform : uppercase;
48
- letter-spacing : 1 px ;
49
- color : # ffc600 ;
48
+ letter-spacing : .1 rem ;
49
+ color : # ffc600 ;
50
50
}
You can’t perform that action at this time.
0 commit comments