Files
Bratonien-Adventskalender/adventskalender/shared/css/style.css
2025-11-10 21:01:06 +01:00

132 lines
2.3 KiB
CSS

/* === Bratonien CI-Farben === */
:root {
--ci-darkgreen: #104f3a;
--ci-gold: #c8aa49;
--ci-blue: #1a3765;
--ci-beige: #d9c27f;
--ci-creamwhite: #f7f3e8;
}
/* === Reset & Grundstruktur === */
*,
*::before,
*::after {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
height: 100dvh;
width: 100vw;
overflow: hidden;
font-family: sans-serif;
color: var(--ci-creamwhite);
background: linear-gradient(180deg, var(--ci-darkgreen), var(--ci-blue));
background-size: cover;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
}
/* === Hauptbereich === */
main {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
/* === Überschrift === */
main > h1 {
flex: 0 0 auto;
font-size: 1.8rem;
text-align: center;
margin: 0.5rem 0;
padding: 0 1rem;
}
/* === Bildcontainer === */
.kalenderbild {
flex: 1 1 auto;
position: relative; /* Bezugsrahmen für Overlay */
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 0.5rem;
}
/* === Bild selbst === */
.kalenderbild img {
display: block;
max-width: 100%;
max-height: calc(95dvh - 3rem); /* Platz für h1 */
height: auto;
width: auto;
border: 4px solid var(--ci-gold);
border-radius: 12px;
}
/* === FOOTER === */
.main-footer {
background-color: #104f3a; /* CI-Dunkelgrün */
color: #f7f3e8; /* CI-Cremeweiß */
text-align: center;
padding: 2rem 1rem;
font-size: 0.9rem;
margin-top: 4rem;
border-top: 3px solid #c8aa49; /* Goldene Linie */
}
.footer-inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.6rem;
}
.footer-brand {
font-weight: 600;
letter-spacing: 0.03em;
}
.footer-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem 1rem;
}
.footer-links a {
color: #c8aa49;
text-decoration: none;
transition: color 0.2s ease;
}
.footer-links a:hover {
color: #f7f3e8;
text-decoration: underline;
}
.footer-links .divider {
color: rgba(247, 243, 232, 0.4);
}
.legal-note {
margin-top: 1rem;
font-size: 0.75rem;
color: rgba(247, 243, 232, 0.7);
}
/* === RESPONSIVE === */
@media (max-width: 600px) {
.footer-links {
flex-direction: column;
gap: 0.4rem;
}
.footer-links .divider {
display: none;
}
}