The Great Refactoring

This commit is contained in:
2026-06-06 10:27:33 +02:00
parent f543405964
commit 06f862c68a
16 changed files with 2168 additions and 2055 deletions
+43
View File
@@ -0,0 +1,43 @@
/*
* Beinhaltet das absolute Grundgerüst der Seite.
* Reset-Regeln uns die Positionierung der Haupt-Container (Z-Index Ebenen).
*/
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: var(--color-bg-page);
font-family: var(--font-main);
/* NEU: Verbietet mobilen Browsern das eigenmächtige Vergrößern der Schrift */
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
#game-wrapper {
position: relative;
width: 100%;
height: 100%;
}
#pixi-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
#ui-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
pointer-events: none;
}