forked from RobloxEnderman/mycustomtest.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
49 lines (49 loc) · 2.41 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
<!DOCTYPE html>
<!-- https://thorium.rocks/ custom 404 landing page. -->
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width">
<meta name="color-scheme" content="light dark">
<link rel="stylesheet" href="/css/404.css">
<link rel="author" href="/humans.txt">
<link rel="shortcut icon" type="image/png" sizes="48x48" href="/404-48x48.png">
<link rel="icon" type="image/png" sizes="32x32" href="/404-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/404-16x16.png">
<meta name="description" content="Funny Custom 404 Error Page">
<title>Error! 404 (Not Found)</title>
<script>
function toggleDarkMode(useDark) {
if (useDark) {
document.documentElement.classList.add('dark');
document.documentElement.classList.remove('light');
} else {
document.documentElement.classList.remove('dark');
document.documentElement.classList.add('light');
}
}
let useDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (!useDark && localStorage.getItem('dark-mode') === 'true') {
useDark = true;
toggleDarkMode(useDark);
} else if (localStorage.getItem('dark-mode') === 'false') {
useDark = false;
toggleDarkMode(useDark);
}
</script>
</head>
<body>
<img title="ohno!" class="spin ohno" src="/misc/robot_1024.png" width="100%" height="100%" alt="Error Robot">
<button id="darkbutton" title="Toggle Dark/Light Mode">Toggle Dark/Light Mode</button>
<p class="par"><b class="error">404.</b> <ins class="ins">That’s an <a title="Tony" href="/imgs/Tony.png">error</a>, my fine sir.</ins></p>
<p>The requested URL <code></code> was not found on this server. <ins class="ins">That’s all <a title="Mr. Robot" href="/misc/robot_1024.png">Mr. Robot</a> knows.</ins>
<br>
<ins class="ins"><a href="/misc/thorium_greyscale_1024.png"><img title="Thorium Greyscale Logo" alt="Thorium Greyscale Logo" class="grey spin2" src="/misc/thorium_greyscale_1024.png" style="margin-top: 12px; margin-left: 12px;" width="128" height="128"></a></ins>
</p>
<script defer src="/js/jquery-3.7.0.slim.min.js"></script>
<script defer src="/js/spin.js"></script>
<script defer src="/js/spin2.js"></script>
<script defer src="/js/spun.js"></script>
<script defer src="/js/button.js"></script>
</body>
</html>