-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path404.html
More file actions
74 lines (66 loc) · 2.22 KB
/
Copy path404.html
File metadata and controls
74 lines (66 loc) · 2.22 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
<!DOCTYPE html>
<head>
<title>404</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--meta http-equiv="refresh" content="5;https://ncku-formula-racing.github.io/" /-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="NCKU, FSAE, Forumla, Racing, Formula Racing, 成大方程式賽車隊, 成大, 成功大學, 成功大學方程式賽車隊, 方程式賽車隊" />
<meta name="author" content="NCKU Formula Racing 成大方程式賽車隊" />
<meta name="description" content="NCKU Formula Racing 成大方程式賽車隊" />
<link rel="icon" href="./img/icon.png" type="image/x-icon" />
<link rel="stylesheet" href="./styles.css" type="text/css" />
<script src="./script.js" defer></script>
<script src="https://kit.fontawesome.com/ce85bf40c6.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="center">
<h1 class="cont"><i class="fa-solid fa-triangle-exclamation fa-fade"></i> Error 404</h1>
<p>Redirecting you in <span id="cdtimer">5</span>...</p>
<img src="./img/hist13.jpg" id="burnt">
</div>
</body>
<script>
setInterval(countdown, 1000)
cd = 4
function countdown() {
if (cd != 0) {
document.getElementById("cdtimer").innerHTML = cd;
cd--;
} else {
cd = 0;
document.getElementById("cdtimer").innerHTML = cd;
window.open(`https://ncku-formula-racing.github.io/`, '_parent')
}
}
</script>
<style>
.center h1 {
margin: 0;
position: absolute;
top: 40%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.center p {
margin: 0;
position: absolute;
top: 48%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
#burnt {
width: 250px;
height: 150px;
object-fit: cover;
margin: 0;
position: absolute;
top: 60%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
</style>
</html>