From d27951e2bc6986c607a4e0bca050ce07d4d0b3a6 Mon Sep 17 00:00:00 2001 From: Max Heidinger Date: Sat, 29 Nov 2025 20:25:29 +0100 Subject: [PATCH] make login more mobile friendly --- static/style/common.css | 28 ++++++++++++++++++++++++++++ templates/base.html | 13 +++++++------ templates/login.html | 16 +++++++++------- 3 files changed, 44 insertions(+), 13 deletions(-) diff --git a/static/style/common.css b/static/style/common.css index 3a2b31d..91eac00 100644 --- a/static/style/common.css +++ b/static/style/common.css @@ -13,6 +13,34 @@ main { height: 1.8em; } +/* Mobile optimizations */ +@media only screen and (max-width: 600px) { + .brand-logo { + font-size: 1.2rem; + left: 0.5rem; + } + + .brand-logo img { + height: 1.4em; + } + + nav .right { + font-size: 0.9rem; + } + + nav .right a { + padding: 0 0.5rem; + } + + .container { + width: 95%; + } + + .page-footer .container { + font-size: 0.9rem; + } +} + .page-footer { padding-bottom: 1em; } diff --git a/templates/base.html b/templates/base.html index b222fa4..e2a2298 100644 --- a/templates/base.html +++ b/templates/base.html @@ -22,13 +22,14 @@