-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
127 lines (121 loc) · 4.02 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
<html>
<!--
404 Error page for isaac-digangi.github.io :)
-->
<head>
<script src="https://kit.fontawesome.com/6f8f0ac11a.js" crossorigin="anonymous"></script>
<title>Page Not Found</title>
<link rel="shortcut icon" type="image/x-icon" href="1693248351.ico">
<style>
body {
text-align: center;
padding: 50px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.char{
color: darkorange;
display: inline-block;
transition: color 0.3s;
}
#text:hover .char {
color: red;
}
h1{
color:#585252;
font-size: 4rem;
text-shadow: 2px 2px #ccc;
transition: color 0.5s ease;
}
a{
transition: color 0.5s ease;
}
a:hover{
color:#b00c0c;
}
h1:hover{
color:#b00c0c;
}
.error-message {
/*color: darkorange;*/
margin: 20px 0;
font-size: 1.5rem;
}
*{
background-color: #000000;
}
a{
text-decoration: none;
}
.glitch {
position: relative;
color: darkorange;
font-size: 100px;
text-align: center;
}
.glitch::before, .glitch::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #ff0000;
background: black;
}
.glitch::before {
left: 2px;
text-shadow: -2px 0 #00fff9;
animation: glitch 5s infinite linear; /* Increased from 3s to 5s */
}
.glitch::after {
left: -2px;
text-shadow: -2px 0 #3675ff;
animation: glitch 4s infinite linear; /* Increased from 2s to 4s */
}
@keyframes glitch {
0% {clip: rect(44px, 9999px, 56px, 0);}
5% {clip: rect(63px, 9999px, 25px, 0);}
10% {clip: rect(92px, 9999px, 14px, 0);}
15% {clip: rect(26px, 9999px, 94px, 0);}
20% {clip: rect(55px, 9999px, 38px, 0);}
25% {clip: rect(75px, 9999px, 52px, 0);}
30% {clip: rect(14px, 9999px, 85px, 0);}
35% {clip: rect(41px, 9999px, 18px, 0);}
40% {clip: rect(66px, 9999px, 90px, 0);}
45% {clip: rect(10px, 9999px, 37px, 0);}
50% {clip: rect(92px, 9999px, 28px, 0);}
55% {clip: rect(73px, 9999px, 20px, 0);}
60% {clip: rect(19px, 9999px, 96px, 0);}
65% {clip: rect(79px, 9999px, 14px, 0);}
70% {clip: rect(47px, 9999px, 50px, 0);}
75% {clip: rect(30px, 9999px, 16px, 0);}
80% {clip: rect(86px, 9999px, 10px, 0);}
85% {clip: rect(64px, 9999px, 38px, 0);}
90% {clip: rect(30px, 9999px, 76px, 0);}
95% {clip: rect(92px, 9999px, 20px, 0);}
100% {clip: rect(26px, 9999px, 90px, 0);}
}
</style>
</head>
<body>
<div class="glitch" data-text="ERROR 404">ERROR 404</div>
<h1>Oops!</h1>
<div class="error-message">
<p id="text">The page you are looking for may have been removed, had its name changed, or is temporarily unavailable.</p>
<i class="fa-solid fa-house fa-beat-fade fa-xl" style="color: #e06500;"></i><a href="https://isaac-digangi.github.io/index.html"> Home Page</a>
</div>
<script>
var text = document.getElementById('text');
var strText = text.textContent;
var splitText = strText.split("");
text.textContent = "";
for (let i = 0; i < splitText.length; i++) {
if (splitText[i] === " ") {
text.innerHTML += " ";
} else {
text.innerHTML += "<span class='char' style='transition-delay:" + i / 20 + "s'>" + splitText[i] + "</span>";
}
}
</script>
</body>
</html>