diff --git a/app.py b/app.py index f27a255..fe55ffd 100644 --- a/app.py +++ b/app.py @@ -1648,7 +1648,7 @@ def public_frontend(): if mime.startswith("image/"): img_tag = ( '' - '
' + '
' 'Beitragsbild' '
' ) @@ -1666,7 +1666,7 @@ def public_frontend(): thumb_src = "" vid_tag = ( '' - '
' + '
' + (f'Video-Vorschau' if thumb_src else '
🎬
') + '
' + '' @@ -1713,7 +1713,7 @@ def public_frontend(): except: pass - cards += """
+ cards += """
""" + media_first + """ """ + (f'
📍 {r["halle"]}
' if r["halle"] else '') + """ """ + (f'
🚫 AUSVERKAUFT: {r["spiel_titel"]}
' if r["category"] == "ausverkauft" and r["spiel_titel"] else '') + """ @@ -1760,7 +1760,7 @@ def public_frontend(): .story-card { position:relative; } .story-halle-badge { position:absolute; top:10px; right:10px; background:#20228a; color:#fff; padding:0.25rem 0.65rem; border-radius:5px; font-size:0.78rem; font-weight:700; letter-spacing:0.03em; z-index:5; box-shadow:0 2px 6px rgba(0,0,0,0.3); } .story-ausverkauft-badge { position:absolute; top:10px; left:10px; background:#dc3545; color:#fff; padding:0.3rem 0.7rem; border-radius:5px; font-size:0.78rem; font-weight:700; letter-spacing:0.02em; z-index:5; box-shadow:0 2px 6px rgba(0,0,0,0.3); } - .card-content { padding:0.6rem 1rem 0.8rem; display:flex; flex-direction:column; gap:0.25rem; } + .card-content { padding:0.8rem 1.2rem 1rem; display:flex; flex-direction:column; gap:0.3rem; } .story-meta { display:flex; align-items:center; gap:0.5rem; flex-wrap:wrap; } .story-type { font-size:0.85rem; } .story-author { font-weight:600; color:#20228a; font-size:0.82rem; } @@ -1768,8 +1768,6 @@ def public_frontend(): .story-time { font-size:0.75rem; color:#666; font-weight:500; } .story-time-rel { color:#20228a; font-weight:700; } .story-preview { display:none; } - .text-only .story-preview { display:block; font-size:0.85rem; line-height:1.45; color:#444; } - .text-only .card-content { padding-top:0.6rem; } /* Frontend filter bar */ .frontend-filter { max-width:1100px; margin:1rem auto 0; padding:0 1.5rem; display:flex; gap:0.4rem; flex-wrap:wrap; align-items:center; }