Files
django5-genial-daneben-archiv/gd2/static/gd2/css/style.css
T
H4nSoloandClaude Opus 5.5 d1964947ef gd2-Startseite im neuen Design, Intern-Dashboard mit Statistiken
- gd2: Startseite neu gestaltet (Hero, Video-Beiträge, Top-Fragen, Frage des Tages,
  Promo-Zahlen); Inhalte sind noch Platzhalter im Code
- intern: Dashboard mit Kennzahlen und Chart.js-Diagrammen (Folgen/Fragen pro Jahr,
  Kategorien, Einsender nach Stadt/Bundesland/Land, Team-Auftritte, Top-Löser,
  Zuschauer- vs. Archivfragen); Analyse und Folgenliste erweitert
- intern: Count(..., distinct=True) bei Auftritten sowie Panel-/Fragen-Durchschnitt,
  sonst wurden die Werte durch den Join multipliziert (z. B. 41.730 statt 195)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 22:04:06 +02:00

456 lines
8.1 KiB
CSS

:root {
--gd-orange: #f15a24;
--gd-orange-deep: #d54b20;
--gd-beige: #f6efe9;
--gd-warm: #f1c58f;
--gd-text: #2a1c1a;
--gd-white: #fffaf6;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Montserrat', sans-serif;
background: #f3ece6;
color: var(--gd-text);
overflow-x: hidden;
}
img {
max-width: 100%;
display: block;
}
button, a {
font: inherit;
}
.site-header {
width: 100%;
background: #f3ece6;
display: flex;
justify-content: center;
padding-bottom: 0;
}
.header-banner {
width: 100%;
min-height: 420px;
background: url('/static/gd/img/header_full.png') center top / cover no-repeat;
position: relative;
overflow: hidden;
box-shadow: inset 0 -22px 0 rgba(255,255,255,0.18);
}
.header-brand-wrap {
width: min(100%, 1280px);
margin: 0 auto;
padding-top: 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
position: relative;
z-index: 2;
}
.brand-logo {
display: flex;
flex-direction: column;
justify-content: center;
min-width: 260px;
padding-left: 12px;
color: #fff;
text-shadow: 0 2px 12px rgba(0,0,0,0.18);
line-height: 0.82;
}
.brand-genial {
font-weight: 900;
font-size: clamp(2.5rem, 3vw, 4.1rem);
letter-spacing: -0.05em;
}
.brand-daneben {
font-weight: 900;
font-size: clamp(2.3rem, 2.6vw, 3.7rem);
letter-spacing: -0.05em;
margin-top: -4px;
}
.header-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 2.1rem;
background: rgba(255,255,255,0.12);
border-radius: 20px 20px 0 0;
padding: 0.8rem 1rem 0.9rem;
margin-left: auto;
margin-right: auto;
backdrop-filter: blur(3px);
}
.header-nav a {
color: rgba(255,255,255,0.96);
text-decoration: none;
font-weight: 700;
font-size: 0.95rem;
position: relative;
line-height: 1;
}
.header-nav a.active::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -10px;
height: 3px;
background: var(--gd-orange);
border-radius: 999px;
}
.header-cta {
display: inline-flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f06a2b 0%, #f6a443 100%);
color: white;
text-decoration: none;
font-weight: 800;
padding: 1rem 1.6rem;
border-radius: 999px;
box-shadow: 0 12px 25px rgba(241, 90, 36, 0.24);
white-space: nowrap;
}
.landing-content {
margin-top: -24px;
position: relative;
z-index: 3;
}
.media-card {
background: rgba(255,255,255,0.7);
border-radius: 28px;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.28);
box-shadow: 0 18px 28px rgba(29, 17, 12, 0.11);
margin-bottom: 1.5rem;
}
.media-thumb-wrap {
position: relative;
height: 250px;
overflow: hidden;
}
.media-thumb-wrap img {
width: 100%;
height: 100%;
object-fit: cover;
}
.media-play {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
}
.media-play span {
width: 70px;
height: 70px;
border-radius: 50%;
background: rgba(241, 90, 36, 0.9);
display: block;
position: relative;
box-shadow: 0 16px 30px rgba(241, 90, 36, 0.38);
}
.media-play span::before {
content: "";
position: absolute;
left: 29px;
top: 22px;
width: 0;
height: 0;
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
border-left: 20px solid white;
}
.media-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.2rem 1.1rem;
background: rgba(255,255,255,0.72);
}
.media-meta small {
display: block;
color: #7a675f;
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.media-meta h3 {
margin: 0.35rem 0 0.2rem;
font-size: 1.05rem;
font-weight: 800;
color: #201614;
}
.media-meta p {
margin: 0;
color: #71615d;
font-size: 0.85rem;
}
.mini-play {
width: 42px;
height: 42px;
border: none;
border-radius: 50%;
background: #f4ece6;
color: var(--gd-orange);
font-size: 1rem;
cursor: pointer;
}
.popular-panel {
background: rgba(255,255,255,0.7);
border: 1px solid rgba(255,255,255,0.4);
border-radius: 28px;
padding: 1.4rem 1.3rem 1rem;
box-shadow: 0 18px 28px rgba(29, 17, 12, 0.11);
}
.popular-head {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1rem;
}
.popular-head h2 {
margin: 0;
font-size: clamp(2rem, 2.3vw, 2.6rem);
font-weight: 900;
color: #201614;
}
.popular-head span {
padding: 0.5rem 0.8rem;
border-radius: 999px;
background: rgba(241, 90, 36, 0.08);
color: var(--gd-orange);
font-weight: 800;
font-size: 0.72rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.question-box {
background: white;
border-radius: 18px;
overflow: hidden;
margin-bottom: 1rem;
border: 1px solid rgba(244, 203, 181, 0.7);
}
.question-tag {
background: linear-gradient(135deg, #f0672c 0%, #f4a749 100%);
color: white;
font-size: 0.7rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 0.7rem 1rem;
}
.question-body {
padding: 1rem 1rem 1.15rem;
}
.question-body h4 {
margin: 0 0 0.5rem;
font-size: 1rem;
line-height: 1.4;
font-weight: 800;
color: #201614;
}
.question-body p {
margin: 0;
color: #73615f;
line-height: 1.6;
font-size: 0.9rem;
}
.popular-actions {
text-align: center;
margin-top: 1.4rem;
}
.primary-btn {
border: none;
border-radius: 999px;
background: linear-gradient(135deg, #ef5d2b 0%, #f8b24d 100%);
color: white;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 0.9rem 1.5rem;
box-shadow: 0 14px 24px rgba(239, 93, 43, 0.22);
}
.promo-wrap {
margin-top: 2.6rem;
}
.promo-box {
background: linear-gradient(135deg, #f15a24 0%, #ff9b2d 100%);
color: white;
border-radius: 32px;
padding: 2rem 1.4rem;
box-shadow: 0 20px 30px rgba(241, 90, 36, 0.22);
}
.promo-label {
font-size: 1.2rem;
font-weight: 800;
margin-bottom: 1rem;
}
.promo-question-col h3 {
margin: 0 0 1.4rem;
font-size: clamp(1.7rem, 2vw, 2.5rem);
line-height: 1.2;
font-weight: 800;
}
.answer-grid {
display: grid;
grid-template-columns: repeat(2, minmax(140px, 1fr));
gap: 0.8rem;
}
.answer-btn {
border: none;
border-radius: 18px;
padding: 0.9rem 0.7rem;
background: rgba(255,255,255,0.9);
color: var(--gd-text);
font-weight: 800;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.06);
}
.answer-btn.correct {
background: #fff7e8;
border: 2px solid rgba(255,255,255,0.8);
}
.promo-image-col {
text-align: center;
}
.promo-image-col img {
width: min(100%, 400px);
margin: 0 auto 1rem;
border-radius: 24px;
background: rgba(255,255,255,0.12);
padding: 1rem;
}
.promo-image-col p {
margin: 0;
font-weight: 800;
opacity: 0.9;
}
.stats-wrap {
margin-top: 2rem;
margin-bottom: 3rem;
}
.stat-box {
background: rgba(255,255,255,0.72);
border-radius: 24px;
padding: 1.5rem 1rem;
text-align: center;
box-shadow: 0 12px 24px rgba(29,17,12,0.08);
}
.stat-number {
font-size: clamp(2rem, 2vw, 2.8rem);
font-weight: 900;
color: #211714;
line-height: 1;
}
.stat-label {
margin-top: 0.5rem;
font-size: 0.7rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(32,23,20,0.75);
font-weight: 800;
}
@media (max-width: 1100px) {
.header-brand-wrap {
gap: 0.7rem;
}
.header-nav {
gap: 1.1rem;
}
}
@media (max-width: 768px) {
.header-banner {
min-height: 270px;
}
.header-brand-wrap {
flex-wrap: wrap;
justify-content: center;
padding-top: 12px;
}
.brand-logo {
min-width: auto;
text-align: center;
padding-left: 0;
}
.header-nav {
order: 3;
width: 100%;
justify-content: center;
gap: 1.2rem;
}
.header-cta {
padding: 0.8rem 1rem;
font-size: 0.85rem;
}
.landing-content {
margin-top: 0;
}
.answer-grid {
grid-template-columns: 1fr;
}
}