feat: 'Boardgame Social' neben Brettspiel News Logo

- Frontend, Detailseite, Admin: <span>Boardgame Social</span> neben Logo
- CSS: .site-logo-sub (weiss/transparent) + .admin-logo-sub (dark theme)
- Admin: Logo+Text in .admin-logo-wrap für korrektes Flex-Layout
This commit is contained in:
Hermes Agent
2026-06-18 00:27:53 +02:00
parent 2eb51b81e2
commit a3706e1169
+10 -1
View File
@@ -903,6 +903,8 @@ def admin_dashboard():
.admin-header {{ position:sticky; top:0; z-index:100; background:rgba(28,28,30,0.72); backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px); border-bottom:1px solid var(--border); padding:0.75rem 1.25rem; }}
body.light .admin-header {{ background:rgba(242,242,247,0.72); }}
.admin-header-inner {{ max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0.5rem; }}
.admin-logo-wrap {{ display:flex; align-items:center; gap:0.5rem; }}
.admin-logo-sub {{ font-size:0.7rem; font-weight:500; color:var(--text3); letter-spacing:0.03em; white-space:nowrap; }}
.admin-header h1 {{ font-size:1.25rem; font-weight:700; letter-spacing:-0.02em; color:var(--text); }}
.admin-header .meta {{ font-size:0.75rem; color:var(--text2); display:flex; gap:0.35rem; flex-wrap:wrap; align-items:center; }}
.count-badge {{ background:var(--surface2); color:var(--text2); padding:0.3rem 0.7rem; border-radius:999px; font-size:0.7rem; font-weight:600; white-space:nowrap; }}
@@ -974,7 +976,10 @@ function toggleTheme(){{document.body.classList.toggle('light');localStorage.set
<body>
<header class="admin-header">
<div class="admin-header-inner">
<img src="/static/logo.png" alt="Brettspiel News" style="height:34px;width:auto;">
<div class="admin-logo-wrap">
<img src="/static/logo.png" alt="Brettspiel News" style="height:34px;width:auto;">
<span class="admin-logo-sub">Boardgame Social</span>
</div>
<div class="meta">
<span class="count-badge">{len(rows)} Submissions</span>
<a href="/admin" class="admin-btn{' active' if not status_filter else ''}">📋 Alle</a>
@@ -1886,6 +1891,7 @@ def public_frontend():
.site-logo .logo-icon { width:40px; height:40px; background:#20228a; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.site-logo .logo-text { font-weight:800; font-size:1.15rem; letter-spacing:-0.01em; color:#fff; }
.site-logo .logo-sub { font-weight:400; color:#888; font-size:0.75rem; }
.site-logo-sub { font-size:0.7rem; font-weight:500; color:rgba(255,255,255,0.7); letter-spacing:0.03em; margin-left:0.5rem; white-space:nowrap; }
.site-header .header-right { margin-left:auto; }
.site-header .header-right a { color:#aaa; text-decoration:none; font-size:0.8rem; transition:color 0.2s; }
.site-header .header-right a:hover { color:#fff; }
@@ -2106,6 +2112,7 @@ def public_frontend():
<button id="navToggle" class="nav-toggle" aria-label="Menü öffnen"></button>
<a href="/" class="site-logo">
<img src="/static/logo.png" alt="Brettspiel News" style="height:38px;width:auto;display:block;">
<span class="site-logo-sub">Boardgame Social</span>
</a>
<div class="header-right">
<a href="https://brettspiel-news.de">brettspiel-news.de</a>
@@ -3194,6 +3201,7 @@ def public_detail(sub_id: int):
.site-logo {{ display:flex; align-items:center; gap:0.6rem; text-decoration:none; color:#fff; }}
.site-logo .logo-icon {{ width:40px; height:40px; background:#20228a; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }}
.site-logo .logo-text {{ font-weight:800; font-size:1.15rem; color:#fff; }}
.site-logo-sub {{ font-size:0.7rem; font-weight:500; color:rgba(255,255,255,0.7); letter-spacing:0.03em; margin-left:0.5rem; white-space:nowrap; }}
.detail-container {{ max-width:720px; margin:2rem auto; padding:0 1.5rem; }}
.back-link {{ display:inline-block; color:#20228a; text-decoration:none; font-weight:600; margin-bottom:1.5rem; font-size:0.9rem; }}
.back-link:hover {{ text-decoration:underline; }}
@@ -3223,6 +3231,7 @@ def public_detail(sub_id: int):
<header class="site-header">
<a href="/" class="site-logo">
<img src="/static/logo.png" alt="Brettspiel News" style="height:30px;width:auto;display:block;" width="160" height="30">
<span class="site-logo-sub">Boardgame Social</span>
</a>
</header>
<main class="detail-container">