-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (100 loc) · 1.88 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
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
98
99
100
101
102
103
104
105
106
107
108
109
*{
margin: 0;
padding: 0;
}
.icon {
width: 1em; height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
body {
background: grey url(http://p86y5hc6k.bkt.clouddn.com/page.jpg) no-repeat center center;
background-size: cover;
height: 100vh;
display: flex;
flex-direction: column;
}
/* header{
height: 200px;
display: flex;
justify-content: center;
align-items: center;
}
header div{
max-width: 926px;
height: 66px;
background: #fff;
}
header input{
height: 60px;
max-width: 400px;
border: transparent;
font-size: 2em;
padding-left: .2em;
} */
kbd {
display: inline-block;
width: 6em;
height: 4em;
text-transform: uppercase;
position: relative;
}
kbd > button {
display: none;
position: absolute;
right: 4px;
bottom: 4px;
border-radius: 4px;
height: 16px;
width: 16px;
border: transparent;
cursor: pointer;
background: rgba(129, 121, 121, 0.8)
}
kbd > img {
position: absolute;
left: 4px;
bottom: 4px;
height: 16px;
width: 16px;
border-radius: 4px;
}
kbd:hover > button {
display: inline-block;
}
main {
flex-grow: 1;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
#main {
display: inline-block;
padding: 48px;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 8px;
}
#main > div:nth-child(2){
margin-left: 2em;
}
#main > div:nth-child(3){
margin-left: 4em;
}
.key {
width: 47px;
height: 69px;
border-radius: 8px;
padding: 0 12px;
line-height: 69px;
float: left;
position: relative;
margin: 0 12px 12px 0;
background-color: #000;
color: #fff;
text-align: center;
font-size: 24px;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
font-family: Helvetica;
}