ui
This commit is contained in:
parent
e02b63f13f
commit
e4d28b3e41
2 changed files with 21 additions and 5 deletions
|
@ -57,6 +57,9 @@
|
||||||
<body>
|
<body>
|
||||||
<canvas id="c" width="640" height="480"></canvas>
|
<canvas id="c" width="640" height="480"></canvas>
|
||||||
<div class='hud'>
|
<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 class='main-hud'>hud</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,30 +3,43 @@ canvas {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, html {
|
body,
|
||||||
|
html {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hud {
|
.hud {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: rgba(255, 255, 255, 0.7);
|
background: rgba(201, 177, 206, 0.7);
|
||||||
color: rgb(0, 0, 0);
|
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;
|
padding: 10px;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
font-size: 32px;
|
font-size: 24px;
|
||||||
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-hud {
|
||||||
|
margin-top: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
|
|
||||||
background: rgb(255, 255, 255);
|
background: rgb(238, 222, 245);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-top: 5px;
|
||||||
}
|
}
|
Loading…
Reference in a new issue