Private
Public Access
1
0

bug fixes
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s

This commit is contained in:
Sebastian Unterschütz
2025-11-25 21:31:04 +01:00
parent ddc861ceac
commit 93491bd794
8 changed files with 281 additions and 78 deletions

View File

@@ -367,12 +367,21 @@ input {
/* 1. Haupt-Container: Alles zentrieren! */
#startScreen {
flex-direction: row; /* Nebeneinander lassen, da Bildschirm breit ist */
align-items: center; /* Vertikal mittig */
justify-content: center; /* Horizontal mittig */
gap: 20px; /* Abstand zwischen Menü und Leaderboard */
padding: 10px;
overflow-y: auto; /* Scrollen erlauben zur Sicherheit */
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background:
linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
url('assets/school-background.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
box-sizing: border-box;
padding: 20px;
}
/* 2. Linke Seite (Menü) zentrieren */
@@ -419,9 +428,16 @@ input {
/* 8. Game Over Screen auch zentrieren */
#gameOverScreen {
position: absolute;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.9);
display: flex;
justify-content: center;
align-items: center;
padding-top: 0;
z-index: 10;
box-sizing: border-box;
padding: 20px;
}
#inputSection { margin: 5px 0; }
input { padding: 5px; font-size: 12px; width: 150px; margin-bottom: 5px; }