-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path404.html
141 lines (125 loc) · 7.46 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Page Not Found | Cunny Code</title>
<link rel="shortcut icon" type="image/x-icon" href="https://sethclydesdale.github.io/cunny-code/resources/images/favicon.ico">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://sethclydesdale.github.io/cunny-code/resources/css/stylesheet.min.css">
<script src="https://sethclydesdale.github.io/cunny-code/resources/javascript/ga.js" async></script>
</head>
<body id="page">
<header>
<h1><a href="https://sethclydesdale.github.io/cunny-code/" id="logo"><img src="https://sethclydesdale.github.io/cunny-code/resources/images/logo.png" alt="Cunny Code"></a></h1>
<a id="fork-me" href="https://github.com/SethClydesdale/cunny-code">Fork Me</a>
</header>
<nav>
<a href="https://sethclydesdale.github.io/cunny-code/">Home<i class="fa"></i></a>
<a href="https://sethclydesdale.github.io/cunny-code/code/">The Code<i class="fa" id="cc-chart"><span id="cunny">😭</span><span id="correction">💢</span></i></a>
<a href="https://sethclydesdale.github.io/cunny-code/arona/">About Arona<i class="fa"><img src="resources/images/arona-icon.png" alt=""></i></a>
<a href="https://sethclydesdale.github.io/cunny-code/report/">Reports & Feedback<i class="fa"></i></a>
<a href="https://sethclydesdale.github.io/cunny-code/download/">Download<i class="fa"></i></a>
<a href="https://sethclydesdale.github.io/cunny-code/donate/">Donate<i class="fa"></i></a>
<a href="https://github.com/SethClydesdale/cunny-code">GitHub<i class="fa"></i></a>
</nav>
<div id="content">
<div class="content-block clear">
<div id="encoder" class="menu">
<div class="menu-inner center">
<h2 class="title" id="not-found" style="font-size:36px;">404 Cunny Not Found</h2>
<p style="font-size:20px;">Sorry, but the cute and funny that you're looking for cannot be found.</p>
<div class="center"><img id="arisu_dance" src="https://sethclydesdale.github.io/cunny-code/resources/images/arisu.gif" alt="arisu" style="display:none; cursor:pointer;"><img id="arisu_idle" src="https://sethclydesdale.github.io/cunny-code/resources/images/arisu.png" alt="arisu" style="cursor:pointer;"><audio id="audio" loop><source src="https://sethclydesdale.github.io/cunny-code/resources/audio/Usagi Flap.mp3" type="audio/mpeg"></audio></div>
<div class="dialogue arisu-dialogue" style="margin-top:-20px;margin-bottom:-20px;">Click Arisu, Sensei!</div>
<p><a href="https://sethclydesdale.github.io/cunny-code/" id="404-home" class="button"><i>Return to the Homepage</i></a></p>
</div>
</div>
<div id="arona">
<div id="arona_inner">
<div id="arona_body">
<img id="holo" src="https://sethclydesdale.github.io/cunny-code/resources/images/arona/30.png" alt="Arona">
<div id="arona_halo" class="arona_action"></div>
<div id="arona_face" class="arona_action" onclick="Arona.touch('face');"></div>
<div id="arona_head" class="arona_action" onclick="Arona.touch('head');"></div>
<div id="arona_chest" class="arona_action" onclick="Arona.touch('chest');"></div>
<div id="arona_skirt" class="arona_action" onclick="Arona.touch('skirt');"></div>
<div id="arona_leg1" class="arona_action" onclick="Arona.touch('leg');"></div>
<div id="arona_leg2" class="arona_action" onclick="Arona.touch('leg');"></div>
<div id="arona_leg3" class="arona_action" onclick="Arona.touch('leg');"></div>
<div id="arona_leg4" class="arona_action" onclick="Arona.touch('leg');"></div>
<div id="arona_shoes" class="arona_action" onclick="Arona.touch('shoe');"></div>
</div>
<div id="dialogue_container" class="fade-in">
<div id="dialogue">I-I'm sorry, Sensei...<br>I searched and searched, but I can't find what you're looking for.</div>
</div>
</div>
</div>
</div>
</div>
<footer class="clear">
<ul class="footer-left">
<li><a href="https://sethclydesdale.github.io/cunny-code/privacy/">Privacy</a></li>
<li><a href="#logo">Top</a></li>
</ul>
<ul class="footer-right">
<li>Created by <a href="https://github.com/SethClydesdale">Seth-sensei</a> and the <a href="https://github.com/SethClydesdale/cunny-code/graphs/contributors">Kivotos Community</a></li>
</ul>
</footer>
<script src="https://sethclydesdale.github.io/cunny-code/resources/javascript/arona.min.js"></script>
<script>(function (window, document) {
document.getElementById('audio').volume = 0.4; // normalize audio volume
// arisu dance start
document.getElementById('arisu_idle').onclick = function () {
this.style.display = 'none';
document.getElementById('arisu_dance').style.display = '';
document.getElementById('audio').play();
document.querySelector('.arisu-dialogue').style.display = 'none'
};
// arisu dance stop
document.getElementById('arisu_dance').onclick = function () {
this.style.display = 'none';
document.getElementById('arisu_idle').style.display = '';
document.getElementById('audio').pause();
};
// makes corrections to the page if used on the local file system
if (window.location.protocol == 'file:') {
var domain = 'https://sethclydesdale.github.io/cunny-code/',
a = document.querySelectorAll('a[href*="' + domain + '"], script[src*="' + domain + '"], link[href*="' + domain + '"], img[src*="' + domain + '"], source[src*="' + domain + '"]'),
i = 0,
j = a.length, script;
for (; i < j; i++) {
switch (a[i].tagName) {
// change the anchor values to their offline files
case 'A' :
a[i].href = a[i].href.replace(domain, '');
/404\.html$/.test(a[i].href) ? a[i].href = './index.html' : a[i].href += 'index.html';
break;
case 'IMG' :
a[i].src = a[i].src.replace(domain, '');
break;
// change link sources to their offline resources
case 'LINK' :
a[i].href = a[i].href.replace(domain, '');
break;
// change link sources to their offline resources
case 'SOURCE' :
a[i].src = a[i].src.replace(domain, '');
a[i].parentNode.load();
break;
// change the js source to the offline version
case 'SCRIPT' :
// since we cannot stop js execution, check if the user actually has no internet connection before appending the script
if (!/ga\.js$/.test(a[i].src) && !navigator.onLine) {
script = document.createElement('SCRIPT');
script.src = a[i].src.replace(domain, '');
script.type = 'text/javascript';
document.body.removeChild(a[i]);
document.body.appendChild(script);
}
break;
}
}
}
}(window, document));</script>
</body>
</html>