fix 404 styling

This commit is contained in:
jackyzha0 2021-07-19 16:30:36 -04:00
parent 875d3f8e06
commit d197e19142
2 changed files with 13 additions and 5 deletions

View File

@ -232,3 +232,7 @@ a[href^="/"] {
border-radius: 5px
}
}
.centered {
margin-top: 30vh;
}

View File

@ -3,16 +3,20 @@
{{ partial "head.html" . }}
<body>
<div>
<div class="singlePage">
{{partial "darkmode.html" .}}
<div>
<div class="centered">
<h1>404.</h1>
<h3>Hey! You look a little lost.</h3>
<ul id="sub-nav">
<li><a href="/">↳ Let's get you home.</a></li>
</ul>
<a href="/">↳ Let's get you home.</a>
</div>
</div>
{{- with resources.Get "darkmode.js" | minify -}}
<script>
{{.Content | safeJS }}
</script>
{{- end -}}
</body>
</html>