From 1782fef70c881f3f98d2270b209b0508e3b32cfb Mon Sep 17 00:00:00 2001 From: kai Date: Thu, 27 Aug 2026 09:50:58 +0200 Subject: [PATCH] Polish typography and responsive admin navigation --- app/static/css/style.css | 25 ++++++++++++++++--------- app/templates/_user_menu.html | 1 + app/templates/concert_detail.html | 2 +- app/templates/index.html | 10 +--------- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/app/static/css/style.css b/app/static/css/style.css index d5f6a9f..f5663a1 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -1,3 +1,5 @@ +@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&family=Roboto+Condensed:wght@400;500;700&display=swap'); + :root { --bg: #050505; --surface: #101010; @@ -16,12 +18,7 @@ body { margin: 0; min-height: 100vh; - font-family: - system-ui, - -apple-system, - BlinkMacSystemFont, - "Segoe UI", - sans-serif; + font-family: "Roboto Condensed", "Nimbus Sans Narrow", system-ui, sans-serif; background: linear-gradient(rgba(4, 4, 6, .58), rgba(4, 4, 6, .72)), @@ -74,6 +71,7 @@ header { } .user-menu { position: relative; margin-left: auto; } +.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; min-width: 0; } .user-menu summary { padding: 9px 12px; border: 1px solid var(--border); border-radius: 9px; cursor: pointer; list-style: none; font-weight: 700; } .user-menu summary::-webkit-details-marker { display: none; } .user-menu[open] summary { border-color: var(--accent); background: var(--surface-hover); } @@ -232,6 +230,10 @@ main { .concert-grid { grid-template-columns: 1fr; } + + .header-actions { width: 100%; justify-content: flex-start; } + .header-actions > a { flex: 1 1 auto; text-align: center; } + .header-actions .user-menu { margin-left: 0; } } form { max-width: 650px; @@ -393,9 +395,14 @@ body::after { header, main, .container { position: relative; z-index: 1; } -h1, h2, h3, .logo, .button, button, .page-title h1 { - font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; - letter-spacing: .045em; +h1, h2, h3, .logo, .page-title h1 { + font-family: "Metal Mania", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; + letter-spacing: .055em; +} + +.button, button { + font-family: "Roboto Condensed", "Nimbus Sans Narrow", system-ui, sans-serif; + letter-spacing: .06em; } h1, .page-title h1 { diff --git a/app/templates/_user_menu.html b/app/templates/_user_menu.html index 8f63d0b..6cf96e9 100644 --- a/app/templates/_user_menu.html +++ b/app/templates/_user_menu.html @@ -4,6 +4,7 @@ Mein Profil Nachrichten{% if user.unread_message_count %} {{ user.unread_message_count }}{% endif %} {% if user.event_invitation_count %}Veranstaltungseinladungen {{ user.event_invitation_count }}{% endif %} + {% if user.is_admin %}⚙️ Verwaltung{% endif %}
diff --git a/app/templates/concert_detail.html b/app/templates/concert_detail.html index 8ad2a01..dec7f69 100644 --- a/app/templates/concert_detail.html +++ b/app/templates/concert_detail.html @@ -14,7 +14,7 @@