-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (47 loc) · 987 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>RPG-JS demo</title>
<meta
name="viewport"
content="initial-scale=1, maximum-scale=1, user-scalable=no, minimum-scale=1, width=device-width, height=device-height"
/>
<link rel="stylesheet" href="/main/head/light.css" />
</head>
<body>
<div id="rpg"></div>
<style>
body,
html {
height: 100%;
overflow: hidden;
}
body {
margin: 0;
background-color: black;
display: flex;
align-items: center;
justify-content: center;
}
#rpg {
position: relative;
}
@media (min-width: 800px) {
#rpg {
width: 816px;
height: 624px;
}
}
@media (max-width: 800px) {
#rpg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
</style>
</body>
</html>