From cfebe0a5350c42912d7f638582263751613453e3 Mon Sep 17 00:00:00 2001 From: irrlicht Date: Mon, 15 Dec 2025 17:07:42 +0100 Subject: [PATCH] Redesigned headerbar --- static/css/main.css | 5 +++++ static/css/main.scss | 14 ++++++++++++++ templates/auth/headerbar.html | 27 ++++++++++++++++----------- 3 files changed, 35 insertions(+), 11 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index 9c9897d..f4bb0db 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -51,6 +51,11 @@ hr { #infinite-scroll-indicator { text-align: center; } +#headerbar { + display: flex; + flex-direction: row; + justify-content: space-between; } + form { display: flex; flex-direction: column; } diff --git a/static/css/main.scss b/static/css/main.scss index e3de7ea..1644b51 100644 --- a/static/css/main.scss +++ b/static/css/main.scss @@ -68,6 +68,20 @@ hr { text-align: center; } +#headerbar { + display: flex; + flex-direction: row; + justify-content: space-between; + + // .headerbar-left { + // background-color: red; + // } + + // .headerbar-right { + // background-color: green; + // } +} + // // @font-face { // // font-family: 'avenir'; diff --git a/templates/auth/headerbar.html b/templates/auth/headerbar.html index 6f29e9c..19e16d9 100644 --- a/templates/auth/headerbar.html +++ b/templates/auth/headerbar.html @@ -1,11 +1,16 @@ -{% if loggedin %} - - -{% else %} - - -{% endif %} - -Impressum -Datenschutz -Kontakt +
+
+ {% if loggedin %} + + + {% else %} + + + {% endif %} +
+ +