2023-02-25 05:24:07 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
2023-02-25 07:08:56 +00:00
|
|
|
html, body{ background: #000; padding: 0; margin: 0; width: 100vw; height: 100vh; overflow: hidden; }
|
|
|
|
body.meter { background: rgb(117, 117, 117); }
|
2023-02-25 16:59:56 +00:00
|
|
|
body.blank { background: #000; }
|
2023-02-25 17:40:35 +00:00
|
|
|
body.blank #img, body.blank #can, body.meter #img, body.meter #can { display: none; }
|
2023-02-25 07:08:56 +00:00
|
|
|
#nosleep { color: #fff; margin: 50px auto }
|
|
|
|
#img {
|
|
|
|
position: absolute;
|
|
|
|
background-repeat:no-repeat;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
#can{
|
|
|
|
margin: 0;
|
|
|
|
background: #fff;
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%,-50%);
|
|
|
|
}
|
|
|
|
#can.show{
|
|
|
|
display: block;
|
2023-02-25 05:24:07 +00:00
|
|
|
}
|
|
|
|
</style>
|
2023-02-25 07:08:56 +00:00
|
|
|
<div id="nosleep">Click to prevent sleep</div>
|
|
|
|
<div id="img">
|
|
|
|
</div>
|
|
|
|
<canvas id="can">
|
|
|
|
</canvas>
|
2023-02-25 05:24:07 +00:00
|
|
|
<script src="http://localhost:{{PORT}}/client.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|