adventskalender/shared/style.css aktualisiert

This commit is contained in:
2025-11-02 21:27:17 +00:00
parent 8a22024fd9
commit 6e519cbd50

View File

@@ -57,15 +57,17 @@ html, body {
/* === Kalenderbild (zentriert, festgelegt, ohne erzwungene Breite) === */ /* === Kalenderbild (zentriert, festgelegt, ohne erzwungene Breite) === */
.kalenderbild { .kalenderbild {
width: 90%; width: 90vw;
max-width: 1600px; max-width: 1600px;
margin: 2rem auto; margin: 2rem auto;
} }
.kalenderbild img { .kalenderbild img {
display: block;
width: 100%; width: 100%;
height: auto; height: auto;
max-height: calc(100vh - 6rem); /* 100% Viewport-Höhe minus Headline/Margins */
border: 4px solid var(--ci-gold); border: 4px solid var(--ci-gold);
border-radius: 12px; border-radius: 12px;
display: block;
object-fit: contain;
} }