From 6d95acddd2d889c14afdbae862313852b5c40ff2 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 11 Dec 2023 23:14:26 +0100 Subject: [PATCH] fix autorepeat and volume save --- css/classic.css | 3 ++- css/common.css | 7 ++++++- index.html | 32 ++++++++++++++------------------ js/app.js | 22 +++++++++++----------- js/game_logic.js | 8 ++++---- js/interface.js | 2 +- 6 files changed, 38 insertions(+), 36 deletions(-) diff --git a/css/classic.css b/css/classic.css index d3a2897..9fc8ea6 100644 --- a/css/classic.css +++ b/css/classic.css @@ -82,8 +82,9 @@ } .ghost.mino { + margin: 1px; background: rgba(0, 0, 0, 10%) !important; - border: 2px solid rgba(150, 150, 150, 33%) !important; + border: 3px solid #646464 !important; box-shadow: -2px -2px 6px rgba(128, 128, 128, 25%), -2px 2px 6px rgba(128, 128, 128, 25%), diff --git a/css/common.css b/css/common.css index ba11dc0..c602d8d 100644 --- a/css/common.css +++ b/css/common.css @@ -21,6 +21,11 @@ body { text-shadow: 0 0 8px var(--bs-light); } +#statsTable td, +#statsModal td { + text-align: right; +} + .minoes-table { --piece-column: 0; --piece-row : 0; @@ -218,4 +223,4 @@ tr.cleared-line-animation { animation: game-over-animation; animation-timing-function: (0.4, 0, 0.6, 1); animation-duration: 2s; -} +} \ No newline at end of file diff --git a/index.html b/index.html index cc5cd7e..06b198f 100644 --- a/index.html +++ b/index.html @@ -31,8 +31,7 @@ @@ -187,11 +183,11 @@