Mobile Navigation sticky halten und CSS-Cache erneuern
This commit is contained in:
parent
fd8ae86b5f
commit
ffa8c53d7b
4 changed files with 12 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ Diese Datei ersetzt die Erkundung. Erst hier nachschlagen, dann gezielt mit
|
|||
Abschnitt zu lesen. `docs/legacy/` ist absichtlich ausgeblendet (siehe
|
||||
`.ignore`); dort liegt der alte Laravel-Stand.
|
||||
|
||||
Umfang: 11425 Zeilen in 66 Dateien.
|
||||
Umfang: 11427 Zeilen in 66 Dateien.
|
||||
|
||||
## Einstiegspunkte
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ ohne View.
|
|||
| `tippspiel/src/Views/info/quotas.php` | 61 | Quoten und Ausschüttung der Saison |
|
||||
| `tippspiel/src/Views/login.php` | 55 | Login-Formular |
|
||||
| `tippspiel/src/Views/partials/footer.php` | 32 | Seitenabschluss und Skripte |
|
||||
| `tippspiel/src/Views/partials/header.php` | 102 | HTML-Kopf, Navigation inkl. Admin-Menü und Saison-Umschalter |
|
||||
| `tippspiel/src/Views/partials/header.php` | 104 | HTML-Kopf, Navigation inkl. Admin-Menü und Saison-Umschalter |
|
||||
| `tippspiel/src/Views/questions.php` | 138 | Fragen der Spieler und Admin-Antworten |
|
||||
| `tippspiel/src/Views/ranking.php` | 433 | Rangliste (Runde/Saison) inkl. Joker-Wertung |
|
||||
| `tippspiel/src/Views/register.php` | 81 | Registrierung inkl. Zahlungshinweis |
|
||||
|
|
|
|||
|
|
@ -520,8 +520,13 @@ th.game-header { white-space: normal; }
|
|||
/* Kleine Bildschirme ------------------------------------------------------- */
|
||||
@media (max-width: 700px) {
|
||||
.page { margin: 0.3em; padding: 0.8em; border-radius: 6px; }
|
||||
.site-nav { padding: 0.4em 0.5em; position: static; font-size: 0.85em; }
|
||||
/* Navigation bleibt auch beim Scrollen sichtbar. Sonst verschwindet auf
|
||||
schmalen Geräten die erste (umgebrochene) Zeile mit Tipps/Rangliste. */
|
||||
.site-nav { padding: 0.4em 0.5em; position: sticky; top: 0; font-size: 0.85em; }
|
||||
.nav-user { margin-left: 0; }
|
||||
/* Platz für die (je nach Breite zwei- bis dreizeilige) Navigation bei
|
||||
Anker-Sprüngen (z. B. #round-…). */
|
||||
html { scroll-padding-top: 7em; }
|
||||
|
||||
/* Formulare: Label über dem Feld statt daneben */
|
||||
.form-group label {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
// HTML-Seiten werden bewusst NICHT gecacht: Sie enthalten den Login-Status und
|
||||
// würden nach Ablauf der Session eine veraltete, eingeloggte Ansicht zeigen.
|
||||
|
||||
const CACHE_NAME = 'tippspiel2027-v7';
|
||||
const CACHE_NAME = 'tippspiel2027-v8';
|
||||
const STATIC_ASSETS = [
|
||||
'/css/style.css',
|
||||
'/img/icon-192.png',
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@ if (App\Core\Auth::check()) {
|
|||
$questionsGlow = $questionsGlow || App\Models\Question::hasOpenQuestion();
|
||||
}
|
||||
}
|
||||
// Versionsparameter gegen alte PWA-/Browser-Caches des Stylesheets.
|
||||
$styleVersion = @filemtime(__DIR__ . '/../../../public/css/style.css');
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
|
|
@ -22,7 +24,7 @@ if (App\Core\Auth::check()) {
|
|||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="icon" href="/img/icon-192.png">
|
||||
<link rel="apple-touch-icon" href="/img/icon-180.png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/style.css<?php echo $styleVersion ? '?v=' . (int)$styleVersion : ''; ?>">
|
||||
</head>
|
||||
<body class="<?php echo htmlspecialchars($bodyClass ?? ''); ?>">
|
||||
<?php if (App\Core\Auth::check()): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue