forked from wwwtyro/keyzen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
105 lines (82 loc) · 2.45 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
<!doctype html5>
<html manifest="keyzen.manifest">
<html>
<head>
<title>keyzen</title>
<script src="jquery.js"></script>
<script src="keyzen.js"></script>
<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');
padding: 0;
margin: 0;
}
#container {
position: relative;
width:100%;
height:100%;
}
#word {
color: #AAA;
position: absolute;
top: 50%;
margin-top: -64px;
height:128px;
font-family: 'Ubuntu Mono', sans-serif;
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;
}
#next-level {
height: 2px;
background-color: #f78d1d;
margin-left: auto;
margin-right:auto;
}
#level-chars {
font-family: 'Ubuntu Mono', sans-serif;
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;
}
.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='level-chars'>
</div>
<div id='next-level'>
</div>
<div id='word'>
</div>
</div>
</body>
</html>