Skip to content

I added a sample Error 404 page #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
37 changes: 37 additions & 0 deletions 404/404.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.page_404 {
padding: 40px 0;
background: #fff;
font-family: "Arvo", serif;
}

.page_404 img {
width: 100%;
}
p{
font-size: 22px;
}

.four_zero_four_bg {
background-image: url("images/404.gif");
height: 400px;
background-position: center;
}

.four_zero_four_bg h1 {
font-size: 80px;
}

.four_zero_four_bg h3 {
font-size: 80px;
}

.link_404 {
color: #fff !important;
padding: 10px 20px;
background: #39ac31;
margin: 20px 0;
display: inline-block;
}
.contant_box_404 {
margin-top: -50px;
}
47 changes: 47 additions & 0 deletions 404/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Error</title>
<link rel="stylesheet" href="404.css">
<link rel = "icon" href =
"https://c8.alamy.com/comp/R1T2E6/error-404-vector-icon-isolated-on-transparent-background-error-404-transparency-logo-concept-R1T2E6.jpg"
type = "image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
</head>

<body>
<section class="page_404">
<div class="container">
<div class="row">
<div class="col-sm-12 ">
<div class="col-sm-10 col-sm-offset-1 text-center">
<h1 class="text-center ">404</h1>

<div class="four_zero_four_bg">


</div>

<div class="contant_box_404">
<h3 class="h2">
Look like you're lost
</h3>

<p>the page you are looking for not avaible!</p>
<p>Becuase of lack of time &#128517;</p>

<a href="index.html" class="link_404">Go to Home</a>

</div>
</div>
</div>
</div>
</div>
</section>
</body>

</html>
Binary file added 404/images/404.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.