Add gameover.html
This commit is contained in:
parent
2e7bd8aa5f
commit
33cfdd5cae
@ -11,13 +11,17 @@ layout: compress
|
|||||||
case '#404':
|
case '#404':
|
||||||
case '#e404':
|
case '#e404':
|
||||||
a = '404.html';
|
a = '404.html';
|
||||||
|
break;
|
||||||
case '#410':
|
case '#410':
|
||||||
case '#e410':
|
case '#e410':
|
||||||
a = '410.html';
|
a = '410.html';
|
||||||
|
break;
|
||||||
case '#gameover':
|
case '#gameover':
|
||||||
a = 'gameover.html';
|
a = 'gameover.html';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
a = '418.html';
|
a = '418.html';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
window.location.href = a;
|
window.location.href = a;
|
||||||
</script>
|
</script>
|
||||||
|
41
gameover.html
Normal file
41
gameover.html
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user