Files
Bratonien-Adventskalender/adventskalender/2025/css/day.css

70 lines
1.3 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Bratonien Adventskalender 2025 day.css
Gestaltung der Türcheninhalte (ohne Popup-Layout)
*/
.popup-day h3 {
font-size: clamp(1.2rem, 2vw, 2.2rem);
color: var(--ci-gold);
margin-bottom: clamp(1rem, 2vw, 2rem);
letter-spacing: 0.05em;
text-shadow:
0 0 4px rgba(0, 0, 0, 0.4),
0 0 8px rgba(0, 0, 0, 0.3);
}
/* === BILDER === */
.image-wrapper {
position: relative;
width: 100%;
margin: 0 auto clamp(1.2rem, 2vw, 2.5rem);
overflow: hidden;
border-radius: 12px;
box-shadow:
0 0 12px rgba(0, 0, 0, 0.25),
0 0 20px color-mix(in srgb, var(--ci-gold) 25%, transparent);
}
.image-wrapper picture,
.image-wrapper img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
}
/* === VIDEOS === */
.video-wrapper {
position: relative;
width: 100%;
max-width: 100%;
margin: 0 auto clamp(1rem, 2vw, 2rem);
background: #000;
border-radius: 12px;
overflow: hidden;
box-shadow:
0 0 16px rgba(0, 0, 0, 0.4),
0 0 24px color-mix(in srgb, var(--ci-blue) 20%, transparent);
}
.video-wrapper::before {
content: "";
display: block;
padding-top: 56.25%; /* 16:9 */
}
.video-wrapper video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
outline: none;
object-fit: cover;
border-radius: 12px;
}
/* === AUDIO === */
audio {
display: none;
}