adventskalender/2025/css/main.css aktualisiert
This commit is contained in:
@@ -8,37 +8,52 @@
|
|||||||
|
|
||||||
/* === Türchen-Stil === */
|
/* === Türchen-Stil === */
|
||||||
.door {
|
.door {
|
||||||
font-family: "Bratonien2025", cursive;
|
position: absolute;
|
||||||
font-size: 2.3vw;
|
|
||||||
font-weight: 400;
|
|
||||||
color: var(--ci-gold);
|
|
||||||
text-shadow: 0 0 12px rgba(200,170,73,0.55);
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
|
|
||||||
background-color: rgba(255, 255, 255, 0.16);
|
/* Verlauf auf Basis der CI-Farben */
|
||||||
|
background: linear-gradient(
|
||||||
|
180deg,
|
||||||
|
color-mix(in srgb, var(--ci-darkgreen) 60%, transparent),
|
||||||
|
color-mix(in srgb, var(--ci-blue) 60%, transparent)
|
||||||
|
);
|
||||||
backdrop-filter: blur(6px);
|
backdrop-filter: blur(6px);
|
||||||
-webkit-backdrop-filter: blur(6px);
|
-webkit-backdrop-filter: blur(6px);
|
||||||
|
|
||||||
border: 2px solid var(--ci-gold);
|
border: 2px solid var(--ci-gold);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 0 10px rgba(200,170,73,0.25),
|
0 0 10px color-mix(in srgb, var(--ci-gold) 40%, transparent),
|
||||||
inset 0 0 6px rgba(255,255,255,0.18);
|
inset 0 0 6px rgba(255,255,255,0.18);
|
||||||
|
|
||||||
|
/* Schrift */
|
||||||
|
font-family: "Bratonien2025", cursive;
|
||||||
|
font-size: 2.3vw;
|
||||||
|
font-weight: 400;
|
||||||
|
color: var(--ci-gold);
|
||||||
|
text-shadow:
|
||||||
|
0 0 3px rgba(0,0,0,0.6),
|
||||||
|
0 0 8px rgba(0,0,0,0.4);
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition:
|
transition:
|
||||||
transform 0.2s ease,
|
transform 0.2s ease,
|
||||||
box-shadow 0.2s ease,
|
box-shadow 0.2s ease,
|
||||||
background-color 0.2s ease;
|
background 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hover: heller Goldverlauf */
|
||||||
.door:hover {
|
.door:hover {
|
||||||
background-color: rgba(247,243,232,0.28);
|
background: linear-gradient(
|
||||||
|
180deg,
|
||||||
|
color-mix(in srgb, var(--ci-gold) 40%, transparent),
|
||||||
|
color-mix(in srgb, var(--ci-creamwhite) 40%, transparent)
|
||||||
|
);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 0 16px rgba(200,170,73,0.5),
|
0 0 16px color-mix(in srgb, var(--ci-gold) 60%, transparent),
|
||||||
inset 0 0 10px rgba(255,255,255,0.35);
|
inset 0 0 10px rgba(255,255,255,0.35);
|
||||||
transform: scale(1.04);
|
transform: scale(1.04);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user