From d197e191428ce765583009a24d28555c80570755 Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Mon, 19 Jul 2021 16:30:36 -0400 Subject: [PATCH] fix 404 styling --- assets/base.scss | 4 ++++ layouts/404.html | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/assets/base.scss b/assets/base.scss index f547e78..025c203 100644 --- a/assets/base.scss +++ b/assets/base.scss @@ -231,4 +231,8 @@ a[href^="/"] { border: var(--outlinegray) 1px solid; border-radius: 5px } +} + +.centered { + margin-top: 30vh; } \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html index a27fdf2..232fada 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -3,16 +3,20 @@ {{ partial "head.html" . }} -
+
{{partial "darkmode.html" .}} -
+

404.

Hey! You look a little lost.

- + ↳ Let's get you home.
+ +{{- with resources.Get "darkmode.js" | minify -}} + +{{- end -}} \ No newline at end of file