-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
61 lines (51 loc) · 1.35 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
<html>
<head>
<title>Jqueery</title>
<script
src="https://code.jquery.com/jquery-1.12.4.js"
integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
crossorigin="anonymous"></script>
<meta http-equiv="Cache-control" content="public">
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" >
<meta charset="utf-8">
<link rel="icon" href="favicon.ico?v=4" />
<script src="vino.js"></script>
<style>
div#game {
margin:auto;
background-color:black;
width:1080px;
height:720px;
border:3px solid black;
border-radius:3px;
}
html,body {
margin:0;
padding:0;
}
pre#story {
user-select:none;
background-color:lightgray;
width:1080px;
margin:auto;
padding:10px;
font-family:monospace;
box-sizing:border-box;
overflow-x:scroll;
}
div#game.phone {
width:100%;
height:100%;
}
</style>
</head>
<body>
<div id="game"></div>
<script>
game.intendedHeight = 720;
game.setTarget("game");
engine.loadStory("story.vino");
</script>
</body>
</html>