-
Notifications
You must be signed in to change notification settings - Fork 0
/
keyboard.css
116 lines (95 loc) · 1.9 KB
/
keyboard.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
110
111
112
113
114
115
116
span {
display: inline-block;
width: 56px;
height: 48px;
border: solid 1px rgba(126, 126, 126, 0.59);
margin: 4px;
text-align: center;
line-height: 46px;
font-family: sans-serif;
font-weight: bold;
font-size: 130%;
color: darkslategray;
vertical-align: top;
border-radius: 5px;
transition: all ease 1s;
}
dir#keyboard {
width: 960px;
margin: 90px auto;
padding: 0;
position: relative;
}
div#background {
position: absolute;
top: 0px;
opacity: 0.7;
width: 960px;
z-index: -1;
}
.active {
background-color: hsla(39, 100%, 52%, 0.75);
color: white;
}
.option, .shift {
}
#background > div {
height: 56px;
}
#background > div:nth-child(1) > span {
float: right;
width: 120px;
}
#keyboard > div:nth-child(2) > span:nth-child(13) {
width: 97px;
}
#keyboard > div:nth-child(2) {
padding-left: 87px;
}
#background > div:nth-child(2) > span {
width: 79px;
text-align: left;
padding-left: 10px;
}
* {
box-sizing: border-box;
}
#background > div > span {
font-size: 86%;
}
#background > div:nth-child(3) > span:nth-child(1) {
width: 94px;
word-break: break-word;
padding-right: 38px;
line-height: 16px;
padding-top: 7px;
}
#keyboard > div:nth-child(3) {
padding-left: 102px;
}
#background > div:nth-child(3) > span:nth-child(2) {
float: right;
width: 146px;
}
#background > div:nth-child(4) > span:nth-child(1) {
width: 110px;
}
#keyboard > div:nth-child(4) {
padding-left: 118px;
}
#background > div:nth-child(4) > span:nth-child(2) {
float: right;
width: 193px;
}
#background > div:nth-child(5) > span {
font-size: 70%;
}
#background > div:nth-child(5) > span:nth-child(4) {
width: 80px;
}
#background > div:nth-child(5) > span:nth-child(6) {
width: 80px;
}
#background > div:nth-child(5) > span:nth-child(5) {
width: 392px;
}