Skip to content

Commit

Permalink
Add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeicodes committed Dec 4, 2021
1 parent 5d6b06e commit 3b8830e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
34 changes: 34 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!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>Page Not Found</title>
<link rel="stylesheet" href="/css/styles.css" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<style>
body,
html {
height: 100%;
}

body {
display: flex;
align-items: center;
justify-content: center;
}

h1 {
margin: 0;
font-size: 1.9rem;
}
</style>
</head>
<body>
<div class="content">
<h1>Page Not Found</h1>
Return to <a href="/">Home Page</a>.
</div>
</body>
</html>
5 changes: 5 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@
--color-link: #29b8db;
}

* {
box-sizing: border-box;
}

body {
font-family: "Poppins", sans-serif;
font-weight: 300;
line-height: 1.6;
background-color: var(--color-background);
color: var(--color-text);
text-align: center;
margin: 0;

counter-reset: myth;
}
Expand Down

0 comments on commit 3b8830e

Please sign in to comment.