-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
105 lines (95 loc) · 2.68 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
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Incredibots 2 HTML5 Open Source</title>
<style>
html,
body {
margin: 0;
padding: 0;
font-size: 62.5%;
}
#page_wrapper {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #686d77;
}
#logo {
position: relative;
height: calc(141px / 2);
width: calc(626px / 2);
margin-bottom: -2.5rem;
margin-left: -1.5rem;
z-index: 1;
}
#logo::before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-image: url('site-resource/logo.png');
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
z-index: 1;
}
#logo::after {
content: '';
position: absolute;
left: 4px;
top: 7px;
width: 100%;
height: 100%;
margin-bottom: -2rem;
background-image: url('site-resource/logo.png');
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
filter: grayscale(1) brightness(0) blur(1px);
opacity: 0.5;
}
#game_box {
border: solid;
border-width: 15px 24px 25px 15px;
border-image: url('site-resource/box_small.png');
border-image-slice: 15 23 24 15;
border-image-width: 15px 24px 25px 15px;
border-image-repeat: stretch;
}
#game_wrapper {
display: flex;
align-items: center;
justify-content: center;
width: 800px;
height: 600px;
padding: 2rem;
background: #9ea2c2;
}
#loading_indicator {
font-size: 2rem;
opacity: 0.5;
}
</style>
</head>
<body>
<div id="page_wrapper">
<div style="z-index: 10;">
<div id="logo"></div>
<div id="game_box" style="z-index: 5;">
<div id="game_wrapper">
<div id="loading_indicator">
Loading assets...
</div>
</div>
</div>
</div>
<script src="/src/index.ts" type="module"></script>
</div>
</body>
</html>