-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
41 lines (39 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>ASCII Map Editor</title>
<meta name="description" content="ASCII Map Editor for tile-based games."/>
<meta name="keywords" content="ascii map, map editor, tile-based, dungeon generator, maze generator"/>
<style>
body {
background: #665A4F;
font-family: "Press Start 2P", monospace;
font-size: 13px;
cursor: url('/assets/cursor.png'), default;
overflow: hidden;
user-select: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button, label, input[type="checkbox"], a {
cursor: url('/assets/cursor-click.png') 14 0, pointer !important;
}
canvas {
cursor: url('/assets/cursor.png'), default !important;
}
</style>
<link href="//fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<script src="js/tailwind-3.2.6.js"></script>
<script src="js/axios.min.js"></script>
<script defer type="module" src="/src/main.js"></script>
</head>
<body draggable="false" x-data="{}">
<canvas id="app"></canvas>
<div class="absolute top-1/2 right-0"
style="width: 280px; margin-top: -245px;"
x-html="(await window.axios.get('menu.html')).data"></div>
<a x-show="window.location.href.indexOf('itch')===-1" href="https://github.com/stmn/ascii-map-editor" style="right: 0; top: 0; position: absolute;"><img decoding="async" loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png?resize=149%2C149" alt="Fork me on GitHub"></a>
</body>
</html>