mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
fix 404 styling
This commit is contained in:
parent
875d3f8e06
commit
d197e19142
2 changed files with 13 additions and 5 deletions
|
@ -231,4 +231,8 @@ a[href^="/"] {
|
||||||
border: var(--outlinegray) 1px solid;
|
border: var(--outlinegray) 1px solid;
|
||||||
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