From 2c22601cd64a55912ab098c7ae69cafe22620098 Mon Sep 17 00:00:00 2001 From: Thomas Sindt Date: Mon, 21 Sep 2026 23:07:55 +0200 Subject: [PATCH] CSS Fixes --- buildtime/static/css/scpq_content.css | 9 ++++----- buildtime/static/css/scpq_footer.css | 10 ++++++++++ buildtime/templates/pages/index.html | 10 ++++------ 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/buildtime/static/css/scpq_content.css b/buildtime/static/css/scpq_content.css index 6d86bc7..76648d6 100644 --- a/buildtime/static/css/scpq_content.css +++ b/buildtime/static/css/scpq_content.css @@ -12,7 +12,7 @@ main { } nav { - height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 96px); + height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 64px); overflow-y: auto; /* Scrollbar, wenn der Inhalt zu groß ist */ display: flex; /* Macht die Liste horizontal */ @@ -20,12 +20,12 @@ nav { flex-direction: column; /* Elemente vertikal anordnen */ border: 1px solid var(--secondary-color); border-radius: var(--box-border-radius); - margin: 16px; + margin-left: 16px; @media (max-width: 768px) { - margin: 0px; + height: 100%; } padding: 5px; - background-color: var(--primary-font-color); + background-color: var(--primary-color); } nav ul { @@ -45,7 +45,6 @@ nav ul li a:hover { font-weight: bold; /* Macht den Text fett */ } - .editor-container { height: calc(100vh - var(--header-height) - var(--footer-height) - 4 * var(--main-content-padding) - 96px); display: flex; diff --git a/buildtime/static/css/scpq_footer.css b/buildtime/static/css/scpq_footer.css index fcebe66..d3e66a5 100644 --- a/buildtime/static/css/scpq_footer.css +++ b/buildtime/static/css/scpq_footer.css @@ -13,3 +13,13 @@ footer { margin: 8px; /* Adjust the margin for smaller screens */ } } + +footer a { + text-decoration: none; /* Entfernt die Unterstreichung */ + color: var(--secondary-font-color); /* Setzt die Schriftfarbe */ +} +footer a:hover { + text-decoration: underline; /* Unterstreichung beim Überfahren mit der Maus */ + font-weight: bold; /* Macht den Text fett */ +} + diff --git a/buildtime/templates/pages/index.html b/buildtime/templates/pages/index.html index 71bbf85..4a75635 100644 --- a/buildtime/templates/pages/index.html +++ b/buildtime/templates/pages/index.html @@ -16,7 +16,7 @@
-
-
+

Sidebar

Wir ziehen mit unserem Equipment zurück in die Zollkantine in Bremen. Wir teilen uns dann den Raum mit Myrre und ihrer Band.

@@ -40,10 +40,8 @@
-