-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
246 lines (206 loc) · 6.21 KB
/
404.html
File metadata and controls
246 lines (206 loc) · 6.21 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html lang="en">
<head>
<link rel='shortcut icon' type='image/x-icon' href='./favicon.ico' />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#ffe845"/>
<meta property="og:image" content="/icon_maskable_192.png" />
<meta name="description" content="LemmBox is a mod of BeepBox that aims to combine every other beepmod into one." />
<title>LemmBox 404</title>
<script src="hotdog.js"></script>
<audio id="squish1" src="media/squish1.mp3" type="audio/mpeg"></audio>
<audio id="squish2" src="media/squish2.mp3" type="audio/mpeg"></audio>
<audio id="squish3" src="media/squish3.mp3" type="audio/mpeg"></audio>
<audio id="explode" src="media/explode.mp3" type="audio/mpeg"></audio>
<style type="text/css">
html {
background: var(--page-margin, #020009);
overflow-x: hidden;
font-size: large;
font-family: 'B612', sans-serif;
line-height: 1.3;
color: var(--primary-text, white);
}
body {
max-width: 1100px;
margin: auto;
padding: 1rem;
}
h1 {
font-size: 1.7rem;
text-align: center;
margin-top: 0.5em;
margin-bottom: 0.5em;
-webkit-text-stroke-width: 0;
color: var(--mod-title, #800000);
}
h1.title {
color: #fff570;
}
p {
font-size: 0.8rem;
color: #9C9BA3;
text-align: center;
}
button {
margin-top: 15px;
padding: 10px 15px;
border: 0;
border-radius: 100px;
background-color: #fff570;
color: #020009;
font-weight: bold;
transition: all 0.5s;
cursor: pointer;
}
button:hover {
box-shadow: 0 0 20px #fff57050;
transform: scale(1.1);
}
button:active {
background-color: #e6da4c;
transition: all 0.25s;
box-shadow: none;
transform: scale(0.98);
}
.navbar {
color: #f2f3f5;
font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #020009;
text-align: left;
padding: 5px 20px;
display: flex;
flex-direction: row;
align-items: center;
position: relative;
}
.col, .logo {
flex: 1 1 0px;
}
.navbartitle {
color: #f2f3f5;
background-color: #020009;
text-align: center;
font-family: 'B612', sans-serif;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
white-space: nowrap;
}
.navbarlinks {
color: #f2f3f5;
background-color: #020009;
text-align: right;
padding-left: 5px;
float: right;
font-family: 'B612', sans-serif;
cursor: pointer;
}
.logo-wrapper {
position: relative;
display: inline-block;
}
.logo {
position: relative;
z-index: 2;
transition: transform 0.3s ease;
}
.logo-glow {
position: absolute;
top: 0;
left: 0;
z-index: 1;
filter: blur(8px) brightness(1.5);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.logo-wrapper:hover .logo {
transform: scale(1.1);
}
.logo-wrapper:hover .logo-glow {
opacity: 1;
}
.footertext {
font-size:11px;
color: #868c95;
text-align: center;
font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.footerlinks {
color: #f2f3f5;
font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-align: right;
padding-left: 5px;
float: right;
font-size: 11px;
}
.footer {
margin-top: auto;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}
#Hotdog {
transition: transform 0.3s ease;
}
@media (min-width: 1100px) {
body {
width: 1100px;
}
}
</style>
</body>
<nav class="navbar">
<a title="Click to go back to homepage" href="https://lemmbox.github.io">
<div class="logo-wrapper">
<img src="theme_resources/LemmBoxLogo.png" alt="LemmBox" class="logo" height="64px">
<img src="theme_resources/LemmBoxLogo.png" alt="" class="logo-glow" height="64px" aria-hidden="true">
</div>
</a>
<div class="navbartitle col"><b>Error 404 - Page not found.</b></div>
<div class="col">
<a class="navbarlinks" href="patch_notes"><button>Patch Notes</button></a>
<a class="navbarlinks" href="lemmbox-features"><button>Features</button></a>
<a class="navbarlinks" onclick="history.back()"><button>Go Back</button></a>
</div>
</nav>
<h1><font>Error 404 - </font><span id="goldboxPlant" style="display: inline; color:#800000"></span></h1>
<div class="footer">
<nav class="navbar">
<div class="col"></div>
<footer class="navbartitle col footertext">LemmBox | Error 404 - Page not found. </footer>
<div class="col">
<a class="footerlinks" href="https://lemmbox.github.io">Home</a>
<a class="footerlinks" onclick="history.back()">Go Back</a>
</div>
</nav>
</div>
<script type="text/javascript">
// Randomize display of header
const plants = [
"Page not found", "May I offer you a nice hotdog in this trying time? " + '<img id="Hotdog" src="theme_resources/hotdog.png" width="620.5" height="410.625" onclick="myFunction()"> <audio id="squish1" src="media/squish1.mp3" type="audio/mpeg"></audio><audio id="squish2" src="media/squish2.mp3" type="audio/mpeg"></audio><audio id="squish3" src="media/squish3.mp3" type="audio/mpeg"></audio>', "Page not found...", "Page not found, come back next year.", "I found the page, but it is MINE. I am NOT giving it up that easily." + '<br><p>smh...</p>'
];
const date = new Date();
const plant = plants[Math.floor(Math.random() * plants.length)];
// Use innerHTML for actual HTML, textContent otherwise
if (plant.includes("<") && plant.includes(">")) {
document.getElementById("goldboxPlant").innerHTML = plant;
} else {
document.getElementById("goldboxPlant").textContent = " " + plant;
}
// LB birthday (Jan 7th)
if ((date.getDate() == 7) && date.getMonth() == 1) {
document.getElementById("goldboxPlant").innerHTML = "Even in my birthday, the page is still not found...";
}
function changeHotdogSize() {
var image = document.getElementById('Hotdog');
image.width = Math.random() * (750 - 20) + 20;
image.height = Math.random() * (499 - 20) + 20;
}
</script>
</body>
</html>