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 {
width: 90%;
width: 90vw;
max-width: 1600px;
margin: 2rem auto;
}
.kalenderbild img {
display: block;
width: 100%;
height: auto;
max-height: calc(100vh - 6rem); /* 100% Viewport-Höhe minus Headline/Margins */
border: 4px solid var(--ci-gold);
border-radius: 12px;
display: block;
object-fit: contain;
}