-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (59 loc) · 1.1 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
*{
margin: 0;
padding: 0;
}
main {
text-align: center;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #292929;
background-image: url(./bg.png);
background-size: 100% 100%;
}
#wrapper > .row {
margin: 2em 0 2em 0;
}
#wrapper > :nth-child(2) {
margin-left: -20px;
}
#wrapper > :nth-child(3) {
margin-left: -117px;
}
#wrapper kbd {
/* width: 4em;
height: 4em; */
/* line-height: 4em; */
position: relative;
text-transform: uppercase;
width: 50px;
height: 40px;
background: linear-gradient(to bottom right, #292929 0%, #111111 100%);
border: 1px solid #373737;
font-size: 20px;
color: #c5c5c5;
border-radius: 7px;
box-shadow: 0px 0px 0px 1px #1a1b1c, 0px 0px 0px 2px #1f2020,
0px 2px 0px 2px #080808;
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0px 10px;
}
kbd img{
width: 16px;
height: 16px;
position: absolute;
right: 0px;
bottom:0px;
}
#wrapper kbd > button {
position: absolute;
left: 0;
bottom: 0;
display: none;
}
#wrapper kbd:hover > button {
display: inline-block;
}