-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
106 lines (95 loc) · 2.51 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
<!DOCTYPE html>
<html>
<head>
<title>404 - Page Not Found</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #F2F2F2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
padding: 0;
}
.container {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
max-width: 960px;
width: 80%;
background-color: #FFFFFF;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 40px;
}
.text {
flex: 1;
text-align: left;
}
h1 {
font-size: 48px;
color: #333333;
margin-bottom: 20px;
}
p {
font-size: 24px;
color: #666666;
margin-bottom: 40px;
}
.image {
flex: 1;
text-align: right;
}
img {
max-width: 100%;
height: auto;
}
.button {
display: inline-block;
padding: 12px 24px;
background-color: #FF8C00;
color: white;
font-size: 24px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #FFA500;
}
.language-selection {
position: absolute;
top: 20px;
right: 20px;
text-align: right;
}
.language-link {
margin-right: 10px;
text-decoration: none;
font-size: 16px;
font-weight: bold;
color: #333333;
}
.current-language {
color: #FF8C00;
}
</style>
</head>
<body>
<div class="container">
<div class="language-selection">
<a href="404.html" class="language-link current-language">English</a> | <a href="zh/404.html" class="language-link">中文</a>
</div>
<div class="text">
<h1>404 - Page Not Found</h1>
<p>Uh-oh! My cat ate the file. Time for a fresh start on the homepage!</p>
<a href="/" class="button">Go to Homepage</a>
</div>
<div class="image">
<img src="https://zigaow.com/cat.jpg" alt="Cat" />
</div>
</div>
</body>
</html>