-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (75 loc) · 2.44 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Feywild</title>
<style>
@font-face {
font-family: '04b_03';
src: url('public/fonts/04b_03.ttf') format('truetype');
}
* {
font-family: '04b_03', monospace;
}
.hidden {
visibility: hidden;
background: transparent;
color: transparent;
pointer-events: none;
> * {
background: transparent;
color: transparent;
}
}
</style>
</head>
<body>
<div id="app"></div>
<dialog id="modal"></dialog>
<nav id="hud" class="hidden">
<div class="health-bar">
<span>HEALTH</span>
</div>
<ol class="status-affects">
<li class="blinded hidden">🙈</li>
<li class="crippled hidden">🚷</li>
<li class="weakened hidden">😫</li>
<li class="stunned hidden">😱</li>
</ol>
</nav>
<menu id="inventory" class="hidden">
<h2>— Inventory —</h2>
<div id="inventory-grid"></div>
</menu>
<nav id="pause-menu" class="hidden">
<h2>— Paused —</h2>
<ol>
<li><button id="pause-menu-continue">Continue</button></li>
<li><button id="pause-menu-save">Save</button></li>
<li><button id="pause-menu-load">Load Game</button></li>
<li><button id="pause-menu-exit-main">Exit to Main Menu</button></li>
<li><button id="pause-menu-exit-desktop">Exit to Desktop</button></li>
<li><button id="pause-menu-settings">Settings</button></li>
</ol>
</nav>
<nav id="start-menu" class="hidden">
<h2>— Feywild —</h2>
<ol>
<li><button id="start-menu-continue" class="hidden">Continue</button></li>
<li><button id="start-menu-new">New Game</button></li>
<li><button id="start-menu-exit-desktop">Exit to Desktop</button></li>
<li><button id="start-menu-settings">Settings</button></li>
</ol>
</nav>
<nav id="game-over-menu" class="hidden">
<h2>— Game Over —</h2>
<ol>
<li><button id="game-over-menu-continue">Back to Main Menu</button></li>
<li><button id="game-over-menu-exit-desktop">Exit to Desktop</button></li>
</ol>
</nav>
<script type="module" src="/src/main.ts"></script>
</body>
</html>