-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
125 lines (120 loc) · 3.29 KB
/
404.html
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>You've Fallen Too Far...</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
@font-face {
font-family: 'Alternate';
src: url('/Fonts/AAAlternate.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'RockwellStd-Condensed';
src: url('/Fonts/RockwellStd-Condensed.otf') format('opentype');
font-weight: normal;
font-style: normal;
}
body{
color: #fff;
background: #000;
overflow: hidden;
text-align: center;
}
footer{
display: block;
width: 100%;
position: fixed;
bottom: 0;
padding-bottom: 8em;
}
#abyssContainer{
display: block;
position: fixed;
width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
h1{
font-family: 'Alternate',serif;
font-size: 10rem;
color: #fff;
}
h2{
font-family: 'RockwellStd-Condensed',serif;
font-size: 3rem;
line-height: 0em;
color: #888;
}
a{
font-family: 'RockwellStd-Condensed',serif;
font-size: 3rem;
text-decoration: none;
transition: color .1s linear;
color: #bbb;
}
a:hover, a:active{
color: #fff;
}
@media all and (max-width: 600px){
h1{
font-size: 8rem;
line-height: 1em;
}
h2{
font-size: 2rem;
}
}
</style>
</head>
<body>
<main id="abyssContainer">
<h2><span id="abyssFlavor"></span></h2>
<h1>404</h1>
</main>
<footer>
<a href="index.html">Home</a>
</footer>
<script>
var num = Math.floor(Math.random() * 10);
if(num == 0){
document.getElementById("abyssFlavor").innerText =
'All pits have a bottom';
} else if(num == 1){
document.getElementById("abyssFlavor").innerText =
'Seems you\'ve reached the bottom';
} else if(num == 2){
document.getElementById("abyssFlavor").innerText =
'You\'ve fallen too far...';
} else if(num == 3){
document.getElementById("abyssFlavor").innerText =
'The Pit is deep, but not that deep';
} else if(num == 4){
document.getElementById("abyssFlavor").innerText =
'Seems you\'ve fallen too far';
} else if(num == 5){
document.getElementById("abyssFlavor").innerText =
'Nothing is here...';
} else if(num == 6){
document.getElementById("abyssFlavor").innerText =
'How did you get here?';
} else if(num == 7){
document.getElementById("abyssFlavor").innerText =
'Nothing could be found';
} else if(num == 8){
document.getElementById("abyssFlavor").innerText =
'Nothing exists here...';
} else if(num == 9){
document.getElementById("abyssFlavor").innerText =
'Did you make a mistake?';
}
</script>
</body>
</html>