-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (47 loc) · 1.78 KB
/
index.html
File metadata and controls
47 lines (47 loc) · 1.78 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="parody of NKODICE, the best dice rolling game ever" />
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎲</text></svg>" />
<title>NPODICE</title>
<style>
html, body { width: 100%; height: 100%; margin: 0; background-color: #000 }
header { position: absolute; width: 100%; height: 100%; text-align: center; background-color: #000 }
.ld { padding: 10px; border: 2px solid #fff; background: rgba(0,0,0,0) }
nav rect { height: 10px; width: 80px; rx: 8; fill: #eee }
nav ul, #tog, #loading a { display: none }
nav { position: fixed; padding: 10px }
a { color: #aaa; text-decoration: none }
header h1 { margin-top: 35vh }
</style>
</head>
<body>
<header>
<h1>NPODICE</h1>
<p>
based on <a href="https://store.steampowered.com/app/1510950/NKODICE/">NKODICE</a>
by <a href="https://twitter.com/mt_kuso">ksym</a>
</p>
<button class="ld running"><span></span>START</button>
</header>
<nav role="navigation">
<input id="tog" type="checkbox" />
<label for="tog">
<svg viewBox="0 0 80 80" width="25" height="25">
<rect></rect><rect y="30"></rect><rect y="60"></rect>
</svg>
</label>
<ul>
<li><a href="#">RULE</a></li>
<li><a href="https://github.com/musakui/npodice">SOURCE</a></li>
</ul>
</nav>
<main id="app" class="inactive"></main>
<script async src="/cannon.min.js"></script>
<script type="module" src="/src/index.js"></script>
</body>
</html>