mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 21:16:21 +00:00
fix 404 styling
This commit is contained in:
parent
875d3f8e06
commit
d197e19142
2 changed files with 13 additions and 5 deletions
|
@ -232,3 +232,7 @@ a[href^="/"] {
|
||||||
border-radius: 5px
|
border-radius: 5px
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.centered {
|
||||||
|
margin-top: 30vh;
|
||||||
|
}
|
|
@ -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>
|
Loading…
Reference in a new issue