-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (77 loc) · 2.2 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
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Project RD</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="TemplateData/UnityProgress.js"></script>
<script src="BuildData/UnityLoader.js"></script>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin">
<style>
body {
padding: 0;
background-color: #0b0400;
}
#gameContainer{
width: 80%;
height: 80%;
position:fixed !important;
text-align: center;
left: 10%;
margin-left: -10vw;
top: 10%;
margin-top:10%;
background-image: url("icon.png");
background-position: middle center;
background-size: 300px 300px;
background-repeat: no-repeat;
background-color: #0b0400 !important;
}
img.center{
position: absolute !important;
margin: 0 auto;
width: 30%;
height: auto;
left:50%;
margin-left: -50%;
top: 35% !important;
margin-top:-50%;
}
.progress{
position:fixed; !important;
width: 80vw;
top: 10%;
margin-top:10%;
background-color: #FFA773;
color: #FF5F00;
}
.empty{
background-color: #FFA773;
display: inline-block;
}
.full{
background-color: #FF8740;
display: inline-block;
}
.progressText{
position: absolute;
display: block;
color: #FF6c51;
font-size: 24px;
left: 50%;
margin-left: -50%;
text-align: center;
font-family: Ubuntu, sans-serif;
}
</style>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "BuildData/Build.json", {onProgress: UnityProgress});
</script>
</head>
<body>
<div class="webgl-content">
<div id="gameContainer">
</div>
</body>
</html>