bug fixes
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user