Readd the awesome font

This commit is contained in:
Aaron Fischer 2017-09-13 23:13:48 +02:00
parent 3313148543
commit cb08b71b93
3 changed files with 8 additions and 3 deletions

BIN
src/assets/PixelText.ttf Normal file

Binary file not shown.

View file

@ -1,3 +1,8 @@
@font-face {
font-family: pixel;
src: url(PixelText.ttf);
}
body { body {
background-color: black; background-color: black;
margin-top: 50px; margin-top: 50px;
@ -46,8 +51,8 @@ canvas {
display: block; display: block;
position: absolute; position: absolute;
text-align: left; text-align: left;
font-family: monospace; font-family: pixel;
text-transform: uppercase; font-size: 3em;
} }
#tryagain { #tryagain {

View file

@ -1 +1 @@
link rel="stylesheet" href="assets/styles.css"></link><h1>murí</h1><p>a js13kgame by <a href="https://aaron-fischer.net/">Aaron Fischer</a> (2017)</p><div id="content"><div><canvas width="100" height="40" id="js13k-2017"></canvas><div id="bubble"></div></div></div><p id="loading">loading game ...</p><a href="" id="tryagain" onclick="window.location.reload(true);">Try again</a><script src="vendor/kontra.min.js"></script><script src="muri.min.js"></script> link rel="stylesheet" href="assets/styles.css"></link><p>a js13kgame by <a href="https://aaron-fischer.net/">Aaron Fischer</a> (2017)</p><div id="content"><div><canvas width="100" height="40" id="js13k-2017"></canvas><div id="bubble"></div></div></div><p id="loading">loading game ...</p><a href="" id="tryagain" onclick="window.location.reload(true);">Try again</a><script src="vendor/kontra.min.js"></script><script src="muri.min.js"></script>