Add custom 404 page

This commit is contained in:
Campbell Alden 2022-08-27 12:46:01 +09:00
parent 091024087f
commit a329072d9f
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{{ define "main" }}
<section class="http-page">
<header class="http-header">
<h1 title="404" class="http-status">4📀4</h1>
</header>
<p>The page you were looking for could not be found</p>
</section>
{{ end }}

View file

@ -226,3 +226,25 @@ a:hover {
margin-top: 30px;
margin-bottom: 10px;
}
.http-status {
font-size: calc(10ch + 10vw);
font-family: var(--numbers-font-family);
letter-spacing: 5px;
}
.http-page {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
padding: 0 20px;
}
.http-page p {
text-align: center;
}
.http-header {
margin-top: 10vh;
}