-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (66 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" type="image/png" href="favicon.png" />
<title>Static Template</title>
<style>
body.start {
overflow: hidden;
}
body {
font-size: 16px;
max-width: 600px;
margin: auto;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
canvas, video {
display:none
}
p {
padding:0.5em;
margin: 0;
}
p.actual {
background: yellow;
}
button {
position:absolute;
top:50%;
left:50%;
max-width:90%;
height:2em;
transform: translate(-50%, -1em);
background: white;
border: 2px solid black;
font-size: 3em;
font-family: inherit;
padding: 0.2em 1em;
}
#button-wrapper {
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
background: rgba(255,255,255,0.6);
display: none;
}
.start #button-wrapper {
display:block;
}
</style>
</head>
<body class="start">
<video width="160" height="120">
<track default srclang="hu" src="Decent-Labs-Felolvasoest.vtt" kind="descriptions">
</video>
<div id="button-wrapper">
<button disabled>start</button>
</div>
<div id="text"></div>
<script src="reader.js" type="module"></script>
</body>
</html>