-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
126 lines (112 loc) · 3.35 KB
/
404.html
File metadata and controls
126 lines (112 loc) · 3.35 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page 404</title>
<style>
html, body {
margin: 0;
padding: 0;
font-weight: 800;
box-sizing: border-box;
background: #000;
font-family: cursive;
}
svg {
font: 10.5em 'Monoton';
width: 100%;
height: 100vh;
}
.content {
text-align: center;
}
h1 {
text-align: center;
font: 1.5em 'Roboto', sans-serif;
font-weight: bold;
color: #2f8f7f;
opacity: .6;
}
a {
color: #2f8f7f;
user-select: none;
text-decoration: none;
}
button {
display: inline-block;
text-transform: uppercase;
font-size: 1em 'Roboto';
font-weight: 300;
border: 1px solid #2f8f7f;
border-radius: 4px;
color: #2f8f7f;
margin: 15px 0;
padding: 8px 14px;
text-decoration: none;
opacity: .6;
background-color: #000;
}
.text {
fill: none;
stroke-dasharray: 8% 29%;
stroke-width: 5px;
stroke-dashoffset: 1%;
animation: stroke-offset 5.5s infinite linear;
}
.text:nth-child(1) {
stroke: #1c234d;
animation-delay: -1s;
}
.text:nth-child(2) {
stroke: #315b2c;
animation-delay: -2s;
}
.text:nth-child(3) {
stroke: #2f8f7f;
animation-delay: -3s;
}
.text:nth-child(4) {
stroke: #2f8f7f;
animation-delay: -4s;
}
.text:nth-child(5) {
stroke: #da2717;
animation-delay: -5s;
}
@keyframes stroke-offset {
100% {
stroke-dashoffset: -35%;
}
}
</style>
</head>
<body>
<div class="content">
<svg viewBox="0 0 960 300">
<symbol id="s-text">
<text text-anchor="middle" x="50%" y="50%">404</text>
</symbol>
<g class="g-ants">
<use xlink:href="#s-text" class="text"></use>
<use xlink:href="#s-text" class="text"></use>
<use xlink:href="#s-text" class="text"></use>
<use xlink:href="#s-text" class="text"></use>
<use xlink:href="#s-text" class="text"></use>
</g>
</svg>
<h1>Cette page a été déplacée. <a href="/news/404-info.html">En savoir plus</a>. <p>Essayez toujours <a href="crawlindex.html">l'index complet</a>.</p></h1>
<button onclick="history.back()" style="user-select: none;">Retour</button>
</div>
<script>
window.addEventListener('load', function() {
const urlParams = new URLSearchParams(window.location.search);
const errorMessage = urlParams.get('err');
if (errorMessage) {
console.error('Error:', errorMessage);
document.getElementById('error-display').textContent = `Error: ${errorMessage}`;
}
});
</script>
</body>
</html>