Add gameover.html

This commit is contained in:
luk3yx 2018-01-10 13:37:50 +13:00
parent 2e7bd8aa5f
commit 33cfdd5cae
2 changed files with 45 additions and 0 deletions

View File

@ -11,13 +11,17 @@ layout: compress
case '#404':
case '#e404':
a = '404.html';
break;
case '#410':
case '#e410':
a = '410.html';
break;
case '#gameover':
a = 'gameover.html';
break;
default:
a = '418.html';
break;
}
window.location.href = a;
</script>

41
gameover.html Normal file
View File

@ -0,0 +1,41 @@
---
layout: compress
---
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{% import head.html %}
<title>Game Over</title>
<style>
body {
background-color: black;
width: 100%;
height: 100%;
z-index: 99;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
* {
user-select: none;
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
h1 {
font-size: 11vw;
color: red;
text-align: center;
}
</style>
</head>
<body>
<h1>GAME OVER</h1>
</body>
</html>