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 border-radius: 5px
} }
} }
.centered {
margin-top: 30vh;
}

View file

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