Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 not found page added #68

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404:Page not found</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>πŸš€</text></svg>">
</head>
<style>
body{
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to bottom right, #FFEA7E, #FFA500); /* Default background gradient */
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
height: 100vh;
overflow: hidden;
}
.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90vh;

}
.pic{
width: 550px;
height: 550px;
animation: updown 2s ease-in-out infinite alternate;
transition: all 0.3s ease-in-out;
}
.pic:hover{
filter: drop-shadow(0 0 10px #fffdef);
}
@keyframes updown {
from{
transform: translateY(0);
}
to{
transform: translateY(20px);
}
}
a{
text-decoration: none;
color: #353535;
}
.btn{
position: absolute;
padding: 10px 20px;
background-color: #32ddaac9;
border-radius: 5px;
font-size: 20px;
font-weight: bold;
border: none;
top: 600px;
}
@media screen and (max-width: 600px) {
.pic{
width: 300px;
height: 300px;
}
.btn{
top: 500px;
}
}
</style>
<body>
<div class="center">
<img src="404pic2.png" alt="404 pic" class="pic">
<button class="btn"><a href="index.html">Home</a></button>
</div>
<script src="game.js"></script>
</body>
</html>
Binary file added 404pic2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.