Skip to content

Commit 0e66fc6

Browse files
authored
Create 404.html
1 parent 9a42ca3 commit 0e66fc6

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

src/404.html

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>404 - Page Not Found | GitHub Guides</title>
7+
<link rel="icon" href="favicon.ico" type="image/x-icon" />
8+
<style>
9+
body {
10+
margin: 0;
11+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
12+
background-color: #f4f4f4;
13+
display: flex;
14+
flex-direction: column;
15+
align-items: center;
16+
justify-content: center;
17+
height: 100vh;
18+
color: #333;
19+
}
20+
h1 {
21+
font-size: 6em;
22+
margin: 0;
23+
}
24+
p {
25+
font-size: 1.2em;
26+
margin: 20px 0;
27+
}
28+
a {
29+
display: inline-block;
30+
padding: 12px 24px;
31+
background: linear-gradient(135deg, #ffd700, #ffc107);
32+
color: #fff;
33+
text-decoration: none;
34+
border-radius: 10px;
35+
border: 2px solid transparent;
36+
font-weight: 600;
37+
font-size: 1.1em;
38+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
39+
transition:
40+
background 0.4s ease,
41+
box-shadow 0.4s ease,
42+
transform 0.2s ease,
43+
border-color 0.3s ease;
44+
}
45+
46+
a:hover {
47+
background: linear-gradient(135deg, #ffb700, #ffa000);
48+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
49+
transform: scale(1.05);
50+
border-color: #ffc107;
51+
}
52+
</style>
53+
</head>
54+
<body>
55+
<h1>404</h1>
56+
<p>Oops! The page you're looking for doesn't exist.</p>
57+
<a href="/">Go back to Home</a>
58+
</body>
59+
</html>

0 commit comments

Comments
 (0)