Spaces:
Sleeping
Sleeping
File size: 2,155 Bytes
e5f2822 18bd7bf b6a40d1 e5f2822 b6a40d1 18bd7bf b6a40d1 e5f2822 98927c0 e5f2822 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Retro Tetris</title>
<style>
@font-face {
font-family: 'RetroArcade';
src: url('/assets/fonts/RetroArcade.ttf') format('truetype');
}
body {
margin: 0;
padding: 0;
background: #000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: 'RetroArcade', monospace;
}
#tv-frame {
position: relative;
width: 100%;
height: 500px;
background: url(assets/tv.png) no-repeat center;
background-size: contain;
align-content: center;
}
#game-container {
position: relative;
width: 512px;
height: 390.25px;
/* left: 200px; */
/* top: 46.75px; */
place-self: anchor-center;
}
#game-container canvas {
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
width: 100% !important;
height: 100% !important;
}
#credits {
margin-top: 20px;
font-size: 11px;
color: #eeeeee;
text-align: center;
font-family: Arial, sans-serif;
}
#credits a {
color: #eeeeee;
text-decoration: none;
}
#credits a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div id="tv-frame">
<div id="game-container"></div>
</div>
<div id="credits">
Created by Marco van Hylckama Vlieg - <a href="https://ai-created.com" target="_blank">ai-created.com</a> - <a href="https://x.com/AIandDesign" target="_blank">x.com/AIandDesign</a>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
|