Quiz: Handy-Layout für "Quiz spielen", Streamer-Modus auf Mobilgeräten ausgegraut
- Quiz spielen: unter 768 px wächst die Bühne in die Höhe, lesbare Schriftgrößen, große Tipp-Flächen für Gelöst/Nicht gelöst - Streamer-Modus: auf Handys/Tablets (< 992 px oder nur Touch) ausgegraut mit Hinweis und "Trotzdem verwenden" (gilt für den Tab) - 3 neue Tests (100 insgesamt), Changelog aktualisiert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b4f18b9125
commit
1666e06e92
9 files changed
+142
-2
No files matched your search
@@ -279,3 +279,71 @@
|
||||
/* Im Layout-Editor immer zeigen (ausgeschaltet nur blass) */
|
||||
.layout-vorschau .quiz-punkte { opacity: 0.35; transform: none; }
|
||||
.layout-vorschau .quiz-punkte.sichtbar { opacity: 1; }
|
||||
|
||||
/* --- Handy: "Quiz spielen" (nicht die Overlay-Vorschau der Steuerung) ---
|
||||
* Auf schmalen Bildschirmen würde die 16:9-Bühne die Schrift auf ~6 px schrumpfen.
|
||||
* Daher: feste Grundgröße, Bühne wächst in die Höhe, Elemente untereinander,
|
||||
* große Tipp-Flächen für die Buttons. */
|
||||
@media (max-width: 767.98px) {
|
||||
.quiz-buehne:not(.quiz-vorschau) {
|
||||
--u-basis: 7px;
|
||||
aspect-ratio: auto;
|
||||
min-height: 72vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-countdown {
|
||||
position: static;
|
||||
transform: none;
|
||||
align-self: center;
|
||||
font-size: 24px;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-fortschritt {
|
||||
position: static;
|
||||
align-self: center;
|
||||
margin-top: 6px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-logo {
|
||||
position: static;
|
||||
transform: none;
|
||||
align-self: center;
|
||||
width: 45%;
|
||||
max-width: 200px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-bauchbinden {
|
||||
position: static;
|
||||
margin-top: auto;
|
||||
gap: 18px;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-bauchbinde { font-size: 16px; padding: 16px 14px 12px; }
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-bauchbinde--antwort { font-size: 15px; }
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-bauchbinde-label { font-size: 11px; top: -10px; }
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-antwort-zeile { flex-direction: column; }
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-bewertung { flex-direction: row; }
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-knopf {
|
||||
flex: 1;
|
||||
min-height: 48px;
|
||||
padding: 10px 14px;
|
||||
font-size: 17px;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-bildschirm {
|
||||
padding: 16px 16px 40px;
|
||||
font-size: 17px;
|
||||
}
|
||||
.quiz-buehne:not(.quiz-vorschau) .quiz-knopf--start { flex: 0 0 auto; font-size: 20px; }
|
||||
}
|
||||
|
||||
/* --- Streamer-Modus nur am PC: auf Handys/Tablets (schmal oder nur Touch) ausgegraut --- */
|
||||
.nur-desktop-hinweis { display: none; }
|
||||
@media (max-width: 991.98px), (hover: none) and (pointer: coarse) {
|
||||
body:not(.desktop-modus-erzwungen) .nur-desktop-hinweis { display: block; }
|
||||
body:not(.desktop-modus-erzwungen) .nur-desktop-inhalt {
|
||||
opacity: 0.35;
|
||||
filter: grayscale(1);
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user