70 lines
1.1 KiB
HTML
70 lines
1.1 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<title>Gravity Simulator</title>
|
|
<meta name="viewport" content="width=device-width" />
|
|
<style>
|
|
body {
|
|
background-color: #000;
|
|
color: #8f8;
|
|
font-family: monospace;
|
|
font-size: 12pt;
|
|
overflow: hidden;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
div[id=simulator] {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
button {
|
|
width: 8em;
|
|
border-radius: 0.5EM;
|
|
border-color: #000;
|
|
border-width: 2px;
|
|
/* margin-left: 0.5em; */
|
|
/* margin-right: 0.5em; */
|
|
/* padding-top: 0; */
|
|
/* padding-bottom: 0; */
|
|
}
|
|
|
|
button.wide {
|
|
width: 16em;
|
|
}
|
|
|
|
div.lhg-tool {
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
width: 14EM;
|
|
|
|
/* border: 1px #0fb solid; */
|
|
/* margin: 1EM; */
|
|
padding: 1EM;
|
|
}
|
|
|
|
div.lhg-toolbar {
|
|
position: fixed;
|
|
z-index: 2;
|
|
width: fit-content;
|
|
/* border: 2px #00f dashed; */
|
|
/* margin: '1EM'; */
|
|
/* padding: '1EM'; */
|
|
}
|
|
|
|
</style>
|
|
<script type="module">
|
|
import { Sim } from './simulator.js';
|
|
const sim = new Sim('simulator');
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="simulator"></div>
|
|
</body>
|
|
</html>
|
|
|