-
Notifications
You must be signed in to change notification settings - Fork 59
/
404.html
58 lines (57 loc) · 1.81 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
<!DOCTYPE html>
<html>
<head>
<title>Wrong Way</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="https://fonts.googleapis.com/css?family=Roboto:100" rel="stylesheet">
<link href="/sheep3.css" rel="stylesheet">
<script src="/sheep3.js"></script>
<style>
body {
background: #212224;
color: white;
font-family: 'Roboto',sans-serif;
}
h1 {
position: fixed;
line-height: 1;
height: 300px;
font-size: 300px;
margin: auto;
top: 0;
bottom: 0;
/*transition: top .1s, left .1s;*/
text-align: center;
width: 100%;
}
a {
text-decoration: none;
color: #999999;
position: fixed;
bottom: 20px;
text-align: center;
width: 100%;
}
</style>
</head>
<body>
<h1>404</h1>
<a href="https://www.google.com/">Click here for assistance.</a>
<script>
// clearInterval(1);
var count=0;
setInterval(function(){
document.querySelector("h1").style.top=(Math.floor(Math.random()*200)-100)+"px";
document.querySelector("h1").style.left=(Math.floor(Math.random()*200)-100)+"px";
document.querySelector("h1").style.transform="rotate("+(Math.floor(Math.random()*360))+"deg)";
var height=Math.floor(Math.random()*400)+100;
document.querySelector("h1").style.height=height+"px";
document.querySelector("h1").style.fontSize=height+"px";
count++;
var titles=["Wrong Way","u faled","Having trouble?","stop making up urls","that was your fault"];
if (count%20===0) document.querySelector("title").innerHTML=titles[Math.floor(Math.random()*titles.length)];
}, 100);
</script>
</body>
</html>