From 4e6300a3a2bcb5db7aad8342c58f9c1a3af5d84b Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Thu, 28 Mar 2024 10:32:07 -0500 Subject: [PATCH] Add files via upload Adding error handling for 404 --- Templates/404.html | 21 +++++++++++++++++++++ Templates/404styles.css | 31 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 Templates/404.html create mode 100644 Templates/404styles.css diff --git a/Templates/404.html b/Templates/404.html new file mode 100644 index 0000000..da51868 --- /dev/null +++ b/Templates/404.html @@ -0,0 +1,21 @@ + + + + + + Fuck Your Day + + + {% block body %} +
+

404

+

You're lost.

+

One of us has made a mistake. Hang tight, let's try this again.

+
+ {% endblock %} + diff --git a/Templates/404styles.css b/Templates/404styles.css new file mode 100644 index 0000000..a708663 --- /dev/null +++ b/Templates/404styles.css @@ -0,0 +1,31 @@ +@import url("https://fonts.googleapis.com/css?family=Nunito+Sans"); +:root { + --blue: #0e0620; + --white: #fff; +} +html, +body { + height: 100%; +} +body { + display: flex; + align-items: center; + justify-content: center; + font-family: "Nunito Sans"; + color: var(--blue); + font-size: 1em; +} +h1 { + font-size: 7.5em; + margin: 15px 0px; + font-weight: bold; +} +h2 { + font-weight: bold; +} + +@media screen and (max-width: 768px) { + body { + display: block; + } +}