-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
108 lines (97 loc) · 2.29 KB
/
Copy path404.html
File metadata and controls
108 lines (97 loc) · 2.29 KB
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
<html>
<head>
</head>
<style>
@import url("https://fonts.googleapis.com/css?family=Bevan");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: black;
overflow: hidden;
}
p {
font-family: "Menlo", cursive;
font-size: 130px;
margin: 10vh 0 0;
text-align: center;
letter-spacing: 5px;
background-color: white;
color: transparent;
text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.1);
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
span {
font-size: 1.2em;
}
}
code {
color: #bdbdbd;
text-align: left;
display: block;
font-size: 16px;
margin: 0 30px 25px;
span {
color: #f0c674;
}
i {
color: #b5bd68;
}
em {
color: #b294bb;
font-style: unset;
}
b {
color: #81a2be;
font-weight: 500;
}
}
a {
color: #8abeb7;
font-family: monospace;
font-size: 20px;
text-decoration: underline;
margin-top: 10px;
display: inline-block
}
@media screen and (max-width: 880px) {
p {
font-size: 14vw;
}
}
</style>
<body>
<p>ERROR: <span>404</span></p>
<br><br>
<code>BOOL *<span>page</span>_<em>not_found</em> = TRUE;</code>
<code>BOOL *<span>no_one</span>_<em>caused_this</em> = TRUE;</code>
<code><span>if</span> (<b>spelling_incorrent</b>) { <br><br> <span>[self tryAgain]</span>;</code>
<code><span>} else if (<b>someone_caused_this</b>)</span> { <br><br> <em>NSLog</em>(<i>"Sorry about that!"</i>); <br><br> <span>[self returnToHomepage];</span> <br><br> // Press the button below to return to homepage<br><br>}</code>
<center><a href="https://lycheea.github.io">RETURN HOME</a></center>
<script>
function type(n, t) {
var str = document.getElementsByTagName("code")[n].innerHTML.toString();
var i = 0;
document.getElementsByTagName("code")[n].innerHTML = "";
setTimeout(function() {
var se = setInterval(function() {
i++;
document.getElementsByTagName("code")[n].innerHTML =
str.slice(0, i) + "|";
if (i == str.length) {
clearInterval(se);
document.getElementsByTagName("code")[n].innerHTML = str;
}
}, 30);
}, t);
}
type(0, 0);
type(1, 1000);
type(2, 2000);
type(3, 3000);
</script>
</body>
</html>