From 5b4f8c220bbcbe1ee4b684f91db7cc419e423a41 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Fri, 20 Oct 2023 02:04:13 -0400 Subject: Non-hideous 404 page and link styling --- static/css/standard.css | 22 +++++++++++++++++++++- static/index.html | 2 +- static/notfound.html | 19 ++++++++++++++++--- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/static/css/standard.css b/static/css/standard.css index d854a36..c5fa6b9 100644 --- a/static/css/standard.css +++ b/static/css/standard.css @@ -39,6 +39,16 @@ body { align-items: flex-start; height: 100%; } +#content a { + text-decoration: none; + color: #6a8fd4; +} +#content a:hover { + color: #5f80be; +} +#content a:active { + color: #5472a9; +} #content #lhs { padding: 0rem 1rem; flex-grow: 2; @@ -118,11 +128,21 @@ body { @media (prefers-color-scheme: dark) { body { - color: #ffffff; + color: #fdfbf9; background-image: linear-gradient(to top, #000000f0 20%, #00000090 50%, #00000050), url('https://cdn.cflems.net/fle.ms/earth.webp'); } + #content a { + color: #68369b; + } + #content a:hover { + color: #723aaa; + } + #content a:active { + text-decoration: none; + color: #7d3fbb; + } #content #lhs { background-color: #28282b; color: #fdfbf9; diff --git a/static/index.html b/static/index.html index 6e5723e..25d0fd9 100644 --- a/static/index.html +++ b/static/index.html @@ -10,7 +10,7 @@ fle.ms - + diff --git a/static/notfound.html b/static/notfound.html index b3b5f2f..5557dd5 100644 --- a/static/notfound.html +++ b/static/notfound.html @@ -2,10 +2,23 @@ - fle.ms + + + + + + + Not Found / fle.ms -

fle.ms

-

404 Not Found Page

+ +
+
+

URL Not Found

+

That short URL doesn't exist yet! Did you mean to create it?

+
+
-- cgit v1.2.3