adventskalender/shared/style.css aktualisiert
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user