From f7627ea64a14e68c992338bfbfeecebbf8c42c27 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 23 Jan 2023 07:46:46 +0100 Subject: footer branding --- server/src/routes/ui/layout.rs | 3 +++ server/src/routes/ui/style/layout.css | 10 ++++++++++ 2 files changed, 13 insertions(+) (limited to 'server/src') diff --git a/server/src/routes/ui/layout.rs b/server/src/routes/ui/layout.rs index fe8f789..03fae09 100644 --- a/server/src/routes/ui/layout.rs +++ b/server/src/routes/ui/layout.rs @@ -44,6 +44,9 @@ markup::define! { } } #main { @main } + footer { + p { @CONF.brand " - " @CONF.slogan " | powered by Jellything" } + } } } } diff --git a/server/src/routes/ui/style/layout.css b/server/src/routes/ui/style/layout.css index 0c0e906..3332460 100644 --- a/server/src/routes/ui/style/layout.css +++ b/server/src/routes/ui/style/layout.css @@ -34,6 +34,7 @@ body { width: 100vw; margin: 0px; padding: 0px; + min-height: 100vh; } nav { @@ -95,3 +96,12 @@ nav .account { color: rgb(255, 117, 117); font-family: monospace; } + +footer { + padding: 0.1em; + text-align: center; +} +footer p { + color: #828282; + font-size: 0.8em; +} -- cgit v1.2.3-70-g09d2