-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (70 loc) · 1.31 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
body{
background:white;
display:grid;
align-items:center;
}
.container{
font-size: 16px;/*em is relative to font-size of direct parent*/
width: 100%;
height: 75%;
margin:10em auto;
background: linear-gradient(
-45deg,
#A9A9A9 0%,
#A9A9A9 50%,
#818589 50%,
#818589 100%
);
display: grid;
grid-template: 1fr / 1fr;
place-items: center;
}
.container > * {
grid-column: 1 / 1;
grid-row: 1 / 1;
}
.row {
padding-top: 2em;
margin: auto;
display: table;
width: 20em;
height: 8em;
border-radius: 10px;
table-layout: fixed;
border-spacing: 5px;
background: #191919;
}
.wkeys{
border-radius: 5px;
display: table-cell;
background: #FFFFFF;
}
.wkeys:active{
background: rgb(230,230,230)
}
.blackKeys1{
position: absolute;
display: table;
border-spacing: 0.8em;
height: 5.5em;
width: 6em;
transform: translateX(-102%) translateY(-0.8em);
background: transparent;
}
.bkeys{
display: table-cell;
background: #191919;
}
.bkeys:active{
background-color: rgb(50,50,50);
}
.blackKeys2{
position: absolute;
display: table;
margin-top: 0;
border-spacing: 0.8em;
height: 5.5em;
width: 8.5em;
background: transparent;
transform: translateX(29%) translateY(-0.8em);
}