From e924ad101a1768ae543991b4474aa73aa175d5f1 Mon Sep 17 00:00:00 2001 From: adrien Date: Mon, 24 Apr 2023 20:45:41 +0200 Subject: [PATCH] simplify css --- css/common.css | 10 ++++------ index.html | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/css/common.css b/css/common.css index d270237..1546453 100644 --- a/css/common.css +++ b/css/common.css @@ -1,5 +1,5 @@ :root { - --cell-side: 20px; + --cell-side: 24px; } body { @@ -26,7 +26,7 @@ body { } #matrixTable { - margin-top: calc(-1 * var(--buffer-zoneed-rows) * var(--cell-side)); + margin-top: calc(-1 * var(--buffer-zone-rows) * var(--cell-side)); } @keyframes hard-dropped-table-animation { @@ -47,18 +47,16 @@ body { tr.buffer-zone td:not(.mino) { border-width: 0; - padding: 4px; } tr.matrix td:not(.mino) { border: 1px solid #333; - padding: 3px; } td { overflow: hidden; - width: calc(var(--cell-side) + 4px); - height: calc(var(--cell-side) + 4px); + width: var(--cell-side); + height: var(--cell-side); } @keyframes hard-drop-animation { diff --git a/index.html b/index.html index c1b7e2f..2fe62de 100644 --- a/index.html +++ b/index.html @@ -136,7 +136,7 @@
- +