feat: Fallbacks für Tiefenflug (ohne JS, reduzierte Bewegung, mobil)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6bf774da35
commit
64dfac925a
1 file changed
+19
@@ -342,3 +342,22 @@
|
||||
color: #9a7a1c;
|
||||
}
|
||||
.konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
||||
|
||||
/* ==================== FALLBACKS ====================
|
||||
- .kein-js: steht im HTML und wird von tiefenflug.js entfernt;
|
||||
ohne JS bleibt sie stehen und das Intro verschwindet.
|
||||
- .ohne-intro: setzt tiefenflug.js bei prefers-reduced-motion.
|
||||
- mobil: weniger schwebende Fotos (data-mobil="aus"). */
|
||||
|
||||
.kein-js .flug-strecke,
|
||||
.ohne-intro .flug-strecke { display: none; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.flug-foto img, .flug-hinweis { animation: none; }
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.flug-foto[data-mobil="aus"] { display: none; }
|
||||
.flug-strecke { height: 380vh; }
|
||||
.flug-name { -webkit-text-stroke-width: 1px; }
|
||||
}
|
||||
Reference in new issue
Block a user