This commit is contained in:
biglyderv 2025-03-05 13:53:35 -05:00
parent e02b63f13f
commit e4d28b3e41
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
2 changed files with 21 additions and 5 deletions

View file

@ -57,6 +57,9 @@
<body>
<canvas id="c" width="640" height="480"></canvas>
<div class='hud'>
<b>Nilgrinder: Nothing to Everything</b>
<div class='item'><a href='https://dervland.net/'>More Games</a></div>
<div class='item'><a href='https://tbg.dervland.net/'>Chat</a></div>
<div class='main-hud'>hud</div>
</div>
</body>

View file

@ -3,30 +3,43 @@ canvas {
height: 100vh;
}
body, html {
body,
html {
margin: 0;
padding: 0;
overflow: hidden;
}
.hud {
position: fixed;
top: 0;
left: 0;
background: rgba(255, 255, 255, 0.7);
background: rgba(201, 177, 206, 0.7);
color: rgb(0, 0, 0);
font-family: monospace;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
padding: 10px;
min-width: 200px;
min-height: 50px;
font-size: 32px;
font-size: 24px;
user-select: none;
}
.main-hud {
margin-top: 25px;
}
.item a {
color: inherit;
text-decoration: none;
}
.item {
font-size: 0.6em;
background: rgb(255, 255, 255);
background: rgb(238, 222, 245);
padding: 5px;
width: 300px;
font-weight: bold;
margin-top: 5px;
}