forked from ranelpadon/keyzen-colemak-dh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
180 lines (147 loc) · 4.07 KB
/
index.html
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<!doctype html5>
<html manifest="keyzen.manifest">
<head>
<title>KeyZen Miryoku Edition</title>
<script src="jquery.min.js"></script>
<script src="keyzen.js"></script>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<style>
@font-face {
font-family: 'Ubuntu Mono';
font-style: normal;
font-weight: normal;
src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url('ubuntu-mono.woff') format('woff');
}
body {
background-image: url('brushed_alu.png');
font-family: 'Ubuntu Mono', sans-serif;
padding: 0;
margin: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#container {
position: relative;
width:100%;
height:100%;
}
#word {
color: #AAA;
position: absolute;
top: 50%;
margin-top: -64px;
height:128px;
font-size: 128px;
width:100%;
padding: 0px;
text-align: center;
margin-left: auto;
margin-right:auto;
word-wrap: break-word;
text-shadow: 0px 2px 3px #000;
}
.keys-hit {
color: #CCC;
font-size: 128px;
text-shadow: none;
}
#next-level {
height: 2px;
background-color: #f78d1d;
margin-left: auto;
margin-right: auto;
}
#layout {
padding-top: 16px;
}
#level-chars, #layout {
font-size: 16px;
width:95%;
text-align: center;
padding-bottom: 16px;
margin-left: auto;
margin-right: auto;
word-wrap: break-word;
font-weight: bold;
cursor: hand;
color: #AAAAAA;
}
#title {
color: #AAA;
position: absolute;
bottom: 18px;
text-align: center;
margin-left: auto;
margin-right:auto;
font-family: 'Ubuntu Mono', sans-serif;
font-size: 18px;
font-weight: bold;
width:100%;
}
a {
color: #AAAAAA;
text-decoration: none;
}
a:hover {
color: #f78d1d;
text-decoration: underline;
}
#rigor {
font-size: 16px;
position: absolute;
right: 16px;
bottom: 16px;
color: #AAA;
font-weight: bold;
text-align: right;
}
#stats {
font-size: 16px;
position: absolute;
left: 16px;
bottom: 16px;
color: #AAA;
font-weight: bold;
text-align: right;
}
#rigor-number {
color: #000;
cursor: hand;
}
.currentChar {
border-bottom: 4px solid #f78d1d;
}
.errorChar {
color: #FF0000;
}
.goodChar {
color: #AAAAAA;
text-shadow: 0px 1px 1px #FFF, 0px 2px 2px #FFF;
}
</style>
</head>
<body>
<div id='container'>
<div id='layout'>
</div>
<div id='level-chars'>
</div>
<div id='next-level'>
</div>
<div id='word'>
</div>
<div id='title'>
<a href="https://github.com/bashu/keyzen-miryoku">KeyZen Miryoku Edition</a>
</div>
<div id='rigor'>
</div>
<div id="stats">
</div>
</div>
</body>
</html>