From 81e906c01d0976f51d46c7a6cd74c4a7d6570ce5 Mon Sep 17 00:00:00 2001 From: mkrieger Date: Thu, 14 Nov 2024 10:30:13 +0100 Subject: [PATCH] added logo to login-page --- app/static/styles.css | 24 ++++++++++++++++++++++++ app/templates/login.html | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/app/static/styles.css b/app/static/styles.css index 718040b..186d0ae 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -296,3 +296,27 @@ tr:nth-child(even) td { display: block; margin-bottom: 1em; } + +.logo-container { + text-align: center; + margin-bottom: 1em; +} + +.logo-container img { + max-width: 100%; + height: auto; + width: 150px; /* Standardbreite für das Logo */ + transition: width 0.3s ease; +} + +@media (max-width: 768px) { + .logo-container img { + width: 120px; /* Kleinere Breite auf kleineren Bildschirmen */ + } +} + +@media (max-width: 480px) { + .logo-container img { + width: 100px; /* Noch kleinere Breite auf sehr kleinen Bildschirmen */ + } +} diff --git a/app/templates/login.html b/app/templates/login.html index 7e98355..a75d980 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -2,7 +2,9 @@ {% block content %}

Anmelden

- +
+ Logo +