-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.words.html
More file actions
108 lines (90 loc) · 2.44 KB
/
common.words.html
File metadata and controls
108 lines (90 loc) · 2.44 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
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
<!DOCTYPE html>
<html lang="en" manifest="rushcombe.appcache">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>Rushcombe Common Words: Year 1</title>
<link rel="manifest" href="manifest.json">
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.4/hammer.min.js"></script>
<script type="text/javascript" src="common.words.js"></script>
<style type="text/css">
body,html {
background-color: #df4a32;
color: #FFFFFF;
margin: 0;
padding:0;
height: 100%;
width: 100%;
font-family: 'Open Sans', sans-serif;
}
#word {
font-weight: 400;
font-size: 6em;
padding: 0;
z-index: 50;
}
#count {
font-weight: 400;
font-size: 2em;
padding: 0;
z-index: 50;
margin: 0;
text-align: right;
}
#toggle {
display: block;
z-index: 100
}
.controls {
width: 10%;
height: 100%;
overflow: hidden;
vertical-align: middle;
text-align: center;
}
.container {
width: 80%;
height: 100%;
overflow: hidden;
float:left;
display:table;
}
.centred {
display:table-cell;
vertical-align: middle;
text-align: center;
}
.left {
float: left;
}
.right {
float: right;
}
.fadein {
visibility: visible;
opacity: 1;
transition: opacity 2s linear;
}
.fadeout {
visibility: hidden;
opacity: 0;
transition: visibility 0s 2s, opacity 2s linear;
}
</style>
</head>
<body>
<div class="controls left">
<img id="toggle" src="res/images/repeat.png"/>
</div>
<div class="container">
<p id="word" class="centred"></p>
</div>
<div class="controls right">
<p id="count">1</p>
</div>
<script type="text/javascript">
RCW.start();
</script>
</body>
</html>