b3b6b702d1
- publish_gatekeeper.py (neues Gatekeeper-System) - 4 Premium-Artikel: Veggie Match, Berlin 1960, Wild Tiled West, Scream Park - Alle kumulierten Artikel, Scripts, Medien und Caches
256 lines
5.8 KiB
CSS
256 lines
5.8 KiB
CSS
/* ═══════════════════════════════════════════════════════
|
|
BSN Custom Styles — brettspiel-news.de
|
|
Einmalig im Joomla-Template hinterlegen (Custom CSS)
|
|
Akzent: #20228A | Headings: #171D4F | Body: #3B3B3C
|
|
═══════════════════════════════════════════════════════ */
|
|
|
|
/* ── Infobox: „Auf einen Blick", Spiel-Fakten ── */
|
|
.bsn-infobox {
|
|
background: #f2f2f2;
|
|
border: 1px solid #d0d8e0;
|
|
border-left: 4px solid #20228A;
|
|
padding: 1rem 1.5rem;
|
|
margin: 1.5rem 0;
|
|
border-radius: 16px;
|
|
font-size: 0.95rem;
|
|
}
|
|
.bsn-infobox h3 {
|
|
margin-top: 0;
|
|
color: #20228A;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 1.15rem;
|
|
}
|
|
.bsn-infobox table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.bsn-infobox td {
|
|
padding: 0.3rem 0.5rem;
|
|
border-bottom: 1px solid #dce4ec;
|
|
}
|
|
.bsn-infobox tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
.bsn-infobox td:first-child {
|
|
font-weight: 600;
|
|
color: #171D4F;
|
|
width: 160px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* ── Gamecard: einzelne Spiel-Vorstellung ── */
|
|
.bsn-gamecard {
|
|
background: #f2f2f2;
|
|
border: 1px solid #e0e3e8;
|
|
border-left: 4px solid #20228A;
|
|
padding: 1rem 1.5rem;
|
|
margin: 1.2rem 0;
|
|
border-radius: 16px;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.bsn-gamecard h3 {
|
|
margin-top: 0;
|
|
color: #171D4F;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 1.15rem;
|
|
}
|
|
.bsn-gamecard .game-meta {
|
|
font-size: 0.85rem;
|
|
color: #888;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Gamecard-Hover: entgegenkommender Lift-Effekt (nur Desktop) */
|
|
@media (hover: hover) {
|
|
.bsn-gamecard:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 20px rgba(32,34,138,0.12);
|
|
border-color: #c8cde0;
|
|
}
|
|
}
|
|
|
|
/* ── Quellen-Block ── */
|
|
.bsn-quellen {
|
|
margin-top: 2rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
.bsn-quellen h3 {
|
|
color: #171D4F;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.bsn-quellen ul {
|
|
padding-left: 1.3rem;
|
|
margin: 0;
|
|
}
|
|
.bsn-quellen li {
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
/* ── Tabelle: Eckdaten, Vergleiche ── */
|
|
.bsn-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin: 1rem 0;
|
|
}
|
|
.bsn-table td {
|
|
padding: 0.5rem 0.8rem;
|
|
border-bottom: 1px solid #e8e8f0;
|
|
}
|
|
.bsn-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
.bsn-table td:first-child {
|
|
font-weight: 600;
|
|
color: #171D4F;
|
|
width: 30%;
|
|
}
|
|
|
|
/* ── Dachzeile ── */
|
|
.bsn-dachzeile {
|
|
font-size: 1.1rem;
|
|
color: #555;
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
/* ── Meta-Zeile ── */
|
|
.bsn-meta {
|
|
font-size: 0.85rem;
|
|
color: #999;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* ── Recherchestand ── */
|
|
.bsn-recherche {
|
|
margin-top: 2.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #ddd;
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
}
|
|
|
|
/* ══════════════════════════════════════════════════════════
|
|
DARK MODE — greift bei System-Darkmode oder .dark am Body
|
|
══════════════════════════════════════════════════════════ */
|
|
@media (prefers-color-scheme: dark) {
|
|
.bsn-infobox {
|
|
background: #252530;
|
|
border-color: #3a3a45;
|
|
}
|
|
.bsn-infobox td {
|
|
border-bottom-color: #3a3a45;
|
|
}
|
|
.bsn-infobox td:first-child {
|
|
color: #a0a0c0;
|
|
}
|
|
.bsn-infobox h3 {
|
|
color: #6b6bcc;
|
|
}
|
|
|
|
.bsn-gamecard {
|
|
background: #252530;
|
|
border-color: #3a3a45;
|
|
}
|
|
.bsn-gamecard h3 {
|
|
color: #c8c8d8;
|
|
}
|
|
.bsn-gamecard .game-meta {
|
|
color: #888;
|
|
}
|
|
|
|
.bsn-quellen h3 {
|
|
color: #c8c8d8;
|
|
}
|
|
.bsn-quellen a {
|
|
color: #6b6bcc;
|
|
}
|
|
|
|
.bsn-table td {
|
|
border-bottom-color: #3a3a45;
|
|
}
|
|
.bsn-table td:first-child {
|
|
color: #a0a0c0;
|
|
}
|
|
|
|
.bsn-dachzeile {
|
|
color: #999;
|
|
border-bottom-color: #3a3a45;
|
|
}
|
|
|
|
.bsn-meta {
|
|
color: #777;
|
|
}
|
|
|
|
.bsn-recherche {
|
|
color: #888;
|
|
border-top-color: #3a3a45;
|
|
}
|
|
|
|
/* Hover-Schatten im Dark-Mode */
|
|
.bsn-gamecard:hover {
|
|
box-shadow: 0 6px 20px rgba(100,100,200,0.15);
|
|
border-color: #505068;
|
|
}
|
|
}
|
|
|
|
/* Body-Class-Fallback (falls Joomla manuellen Dark-Toggle nutzt) */
|
|
body.dark .bsn-infobox,
|
|
.dark .bsn-infobox {
|
|
background: #252530;
|
|
border-color: #3a3a45;
|
|
}
|
|
body.dark .bsn-infobox td,
|
|
.dark .bsn-infobox td {
|
|
border-bottom-color: #3a3a45;
|
|
}
|
|
body.dark .bsn-infobox td:first-child,
|
|
.dark .bsn-infobox td:first-child {
|
|
color: #a0a0c0;
|
|
}
|
|
body.dark .bsn-infobox h3,
|
|
.dark .bsn-infobox h3 {
|
|
color: #6b6bcc;
|
|
}
|
|
body.dark .bsn-gamecard,
|
|
.dark .bsn-gamecard {
|
|
background: #252530;
|
|
border-color: #3a3a45;
|
|
}
|
|
body.dark .bsn-gamecard h3,
|
|
.dark .bsn-gamecard h3 {
|
|
color: #c8c8d8;
|
|
}
|
|
body.dark .bsn-gamecard .game-meta,
|
|
.dark .bsn-gamecard .game-meta {
|
|
color: #888;
|
|
}
|
|
body.dark .bsn-quellen h3,
|
|
.dark .bsn-quellen h3 {
|
|
color: #c8c8d8;
|
|
}
|
|
body.dark .bsn-table td,
|
|
.dark .bsn-table td {
|
|
border-bottom-color: #3a3a45;
|
|
}
|
|
body.dark .bsn-table td:first-child,
|
|
.dark .bsn-table td:first-child {
|
|
color: #a0a0c0;
|
|
}
|
|
body.dark .bsn-meta,
|
|
.dark .bsn-meta {
|
|
color: #777;
|
|
}
|
|
body.dark .bsn-recherche,
|
|
.dark .bsn-recherche {
|
|
color: #888;
|
|
border-top-color: #3a3a45;
|
|
}
|
|
body.dark .bsn-gamecard:hover,
|
|
.dark .bsn-gamecard:hover {
|
|
box-shadow: 0 6px 20px rgba(100,100,200,0.15);
|
|
border-color: #505068;
|
|
}
|