forked from wwwtyro/keyzen
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
146 lines (120 loc) · 4.22 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
<!doctype html5>
<!--<html manifest="keyzen.manifest">-->
<html>
<head>
<title>Tristan's keyzen fork</title>
<script src="jquery.js"></script>
<script src="js-weighted-list.js"></script>
<script src="keyzen.js"></script>
<style>
@font-face {
font-family: 'Ubuntu Monokz';
font-style: normal;
font-weight: normal;
src: local('Ubuntu Monokz'), local('UbuntuMono-Regular'), url('ubuntu-mono.woff') format('woff');
}
body {
background-image: url('brushed_alu.png');
font-family: 'Ubuntu Monokz', 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-box {
position: absolute;
top: 50%;
margin-top: -64px;
height:90px;
margin-left: auto;
margin-right:auto;
width:100%;
padding: 0px;
text-align: center;
}
#word {
color: #AAA;
font-size: 90px;
word-wrap: break-word;
text-shadow: 0px 2px 3px #000;
}
.keys-hit {
color: #CCC;
font-size: 90px;
text-shadow: none;
}
#target-bar {
height: 2px;
background-color: #f78d1d;
margin-left: auto;
margin-right:auto;
}
.info-bar {
font-size: 16px;
width:95%;
text-align: center;
padding: 16px;
margin-left: auto;
margin-right:auto;
word-wrap: break-word;
font-weight: bold;
cursor: hand;
color: #AAAAAA;
}
#settings {
font-size: 16px;
position: absolute;
bottom: 16px;
left: 50px;
color: #AAA;
font-weight: bold;
text-align: right;
}
.toggle {
color: #000;
cursor: pointer;
}
.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 class='info-bar'>
<a href="https://github.com/trishume/keyzen">Keyzen Words+Plateau</a>, a heavily modified fork of <a href="https://github.com/wwwtyro/keyzen">Keyzen</a>. Forked by <a href="http://thume.ca/">Tristan Hume</a>.<br/>
<span id='info-bar'></span>
</div>
<div id='word-box'>
<span id='target-container'>
<div id='target-bar'>
</div>
</span>
<div id='word'>
</div>
</div>
<div id='settings'>
</div>
</div>
<a title="Real Time Web Analytics" href="http://getclicky.com/100547964" style="display:none;"><img alt="Real Time Web Analytics" src="//static.getclicky.com/media/links/badge.gif" border="0" /></a>
<script src="//static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(100547964); }catch(e){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100547964ns.gif" /></p></noscript>
</body>
</html>