diff --git a/Transcendence/srcs/frontend/src/tetris.css b/Transcendence/srcs/frontend/src/tetris.css index 10596c6..29c2a08 100644 --- a/Transcendence/srcs/frontend/src/tetris.css +++ b/Transcendence/srcs/frontend/src/tetris.css @@ -49,11 +49,21 @@ body { display: flex; flex-direction: column; align-items: center; - justify-content: center; + justify-content: flex-start; overflow: hidden; animation: flicker 8s infinite; } +#scale-container { + display: flex; + flex-direction: column; + align-items: center; + width: max-content; + position: relative; + z-index: 1; + /* transform et margin-bottom gérés par JS */ +} + /* Grid lines */ body::before { content: ''; @@ -536,7 +546,7 @@ button:disabled { opacity: 0.3; cursor: not-allowed; } .lb-tab--active { color: var(--accent); - background: rgba(0,255,231,0.05); + background: rgba(0,255,65,0.05); border-bottom: 2px solid var(--accent); } @@ -605,4 +615,4 @@ button:disabled { opacity: 0.3; cursor: not-allowed; } color: var(--accent2); } -body { overflow-y: auto; } +body { overflow: hidden; } diff --git a/Transcendence/srcs/frontend/src/tetris.html b/Transcendence/srcs/frontend/src/tetris.html index 6eabc16..3f16e9c 100644 --- a/Transcendence/srcs/frontend/src/tetris.html +++ b/Transcendence/srcs/frontend/src/tetris.html @@ -11,6 +11,8 @@ +
+

TETRIS_

@@ -166,6 +168,7 @@
+ @@ -175,6 +178,31 @@ + +