-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.css
More file actions
80 lines (79 loc) · 1.46 KB
/
css.css
File metadata and controls
80 lines (79 loc) · 1.46 KB
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
*{
margin: 0;
padding: 0;
}
a{
text-decoration: none;
}
kbd{
border: 1px solid red;
width:4em;
height: 4em;
display: inline-block;
text-transform: uppercase;
position: relative;
}
kbd > button{
position: absolute;
right: 0;
bottom: 0;
display: none;
}
kbd:hover > button{
display: inline-block;
}
body{
background: url('http://mcdlr.com/key-sheet/img/alum.png') center center;
}
main{
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#main{
display: inline-block;
}
#main> div:nth-child(2){
margin-left: -22px;
}
#main> div:nth-child(3){
margin-left: -80px;
}
.wrapper{
background: rgba(255,255,255);
border-radius: 10px;
}
.key{
width: 47px;
height: 69px;
border-radius: 8px;
padding: 0 12px;
font-family: keyboard, "Arial Rounded", Helvetica, Arial, sans-serif;
font-size: 24px;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
cursor: pointer;
background: linear-gradient(to bottom, #292929 0%,#111111 100%);
border: 1px solid #373737; color: #C5C5C5; border-radius: 6px;
position: relative;
font-size: 16px; font-family: Helvetica;
}
.row{
margin: 20px;
}
.row .key{
margin: 0 10px;
}
.key img{
width: 16px;
height: 16px;
position: absolute;
left: 4px;
bottom: 2px;
}
.key .text{
position: absolute;
left: 4px;
top: 2px;
}