From 01498edc698bc6037a8ecb8d6af8b9dfbb7908da Mon Sep 17 00:00:00 2001 From: Elias Jansson Date: Wed, 21 May 2025 23:09:17 +0200 Subject: [PATCH] CSS fixes --- Aberwyn/Views/Home/Menu.cshtml | 16 +++++++--------- Aberwyn/wwwroot/css/menu.css | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/Aberwyn/Views/Home/Menu.cshtml b/Aberwyn/Views/Home/Menu.cshtml index 1ec0b5d..73df218 100644 --- a/Aberwyn/Views/Home/Menu.cshtml +++ b/Aberwyn/Views/Home/Menu.cshtml @@ -12,7 +12,13 @@
-

Veckomeny

+
@@ -20,14 +26,6 @@
-
- - - -
-
diff --git a/Aberwyn/wwwroot/css/menu.css b/Aberwyn/wwwroot/css/menu.css index a762d31..5cc0f3b 100644 --- a/Aberwyn/wwwroot/css/menu.css +++ b/Aberwyn/wwwroot/css/menu.css @@ -228,3 +228,37 @@ h1 { margin-bottom: 2px; word-break: break-word; } +.menu-header { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + max-width: 960px; + margin-bottom: var(--spacing); +} + + .menu-header h1 { + font-size: 1.5rem; + color: var(--accent); + margin: 0; + } + +.top-buttons { + display: flex; + gap: 8px; +} + + .top-buttons button { + background: none; + border: none; + color: var(--text); + font-size: 1.2rem; + padding: 6px; + cursor: pointer; + border-radius: 4px; + transition: background-color 0.2s; + } + + .top-buttons button:hover { + background-color: rgba(0, 0, 0, 0.1); + }