From 0911a3a07973e585f6cf962c4c1af3d0530ca1bf Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 20 Feb 2025 18:50:15 +0100 Subject: link to source, refactor css --- server/src/routes/ui/layout.rs | 2 +- web/style/layout.css | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/server/src/routes/ui/layout.rs b/server/src/routes/ui/layout.rs index b94a873..f05fcb2 100644 --- a/server/src/routes/ui/layout.rs +++ b/server/src/routes/ui/layout.rs @@ -69,7 +69,7 @@ markup::define! { } #main { @main } footer { - p { @CONF.brand " - " @CONF.slogan " | powered by Jellything" } + p { @CONF.brand " - " @CONF.slogan " | powered by " a[href="https://codeberg.org/metamuffin/jellything"]{"Jellything"} } } } } diff --git a/web/style/layout.css b/web/style/layout.css index 29c179d..09251d8 100644 --- a/web/style/layout.css +++ b/web/style/layout.css @@ -32,7 +32,6 @@ } * { - color: var(--font); scrollbar-width: thin; scrollbar-color: var(--background-light) #0000; } @@ -48,9 +47,14 @@ body { padding: 0px; } +h1, h2, h3, h4 { + color: var(--font-highlight); +} h1 { font-weight: bold; - color: var(--font-highlight); +} +p, span, a, td, th, label, input { + color: var(--font); } code { @@ -91,9 +95,9 @@ footer { padding: 0.1em; text-align: center; } -footer p { +footer p, footer p a { color: var(--font-dark); - font-size: 0.8em; + font-size: 0.8rem; } summary h3 { -- cgit v1.2.3-70-g09d2