Add link to source code
This commit is contained in:
parent
b9ac77f1aa
commit
7fdb89b274
|
@ -4,6 +4,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<canvas id="canvas" width="640" height="480"></canvas>
|
||||
<a href="//git.lyte.dev/lytedev/rust-flappy-dragon">Source Code</a>
|
||||
<script src="./rust-game-1.js"></script>
|
||||
<script>
|
||||
window.addEventListener("load", async () => {
|
||||
|
@ -12,7 +13,8 @@
|
|||
</script>
|
||||
<style>
|
||||
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
body, html { background-color: #111; display: flex; height: 100vh; width: 100vw; justify-content: center; align-items: center; }
|
||||
body, html { background-color: #111; display: flex; height: 100vh; width: 100vw; justify-content: center; align-items: center; flex-direction: column; font-family: sans-serif; }
|
||||
canvas { margin-bottom: 1em; }
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue