This repository has been archived on 2026-05-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
instructions-clear/public/index.html
T
2024-12-23 12:18:21 +09:00

65 lines
1.3 KiB
HTML

<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="Thayol">
<script type="importmap">
{
"imports": {
"three": "/three/build/three.module.js",
"three/addons/": "/three/examples/jsm/"
}
}
</script>
<style>
* {
box-sizing: border-box;
}
html {
font-family: sans-serif;
}
html, body {
margin: 0;
padding: 0;
user-select: none;
}
.debug-panel {
position: fixed;
opacity: 0.2;
inset: 0 0 auto auto;
border-bottom-left-radius: 10px;
padding: 10px 10px 20px 20px;
background-color: white;
border: 5px solid gray;
border-top: none;
border-right: none;
width: 400px;
transition-duration: 0.2s;
transition-property: opacity;
}
.debug-panel:hover {
opacity: 1;
}
.minimap {
position: fixed;
inset: auto 0 0 auto;
border: 5px solid gray;
border-top-left-radius: 10px;
border-bottom: none;
border-right: none;
}
</style>
</head>
<body>
<div class="debug-panel">
<p>Connection: <span id="connection"></span></p>
<pre id="state"></pre>
</div>
<script type="module" src="client.js"></script>
</body>
</html>