From 1d7f4c4124cd53b7caf6978d52bf8a54aaadcfa9 Mon Sep 17 00:00:00 2001 From: Inga Date: Wed, 20 Nov 2024 02:33:39 +0000 Subject: [PATCH] css improvements --- src/frontend/static/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/frontend/static/style.css b/src/frontend/static/style.css index ca976c6..4de5f61 100644 --- a/src/frontend/static/style.css +++ b/src/frontend/static/style.css @@ -1,10 +1,12 @@ body { + padding: 5vmin; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: min-content 1fr; grid-template-areas: "counters counters" "game1 game2"; + grid-column-gap: 5vmin; } section.counters { @@ -47,7 +49,7 @@ table.game-board-table { table.game-board-table tbody.game-board td { border: solid 6px black; - padding: 3px + padding: 3px; } tbody.game-board button, @@ -57,7 +59,7 @@ tbody.game-board button:hover { height: 4em; border: none; background-color: transparent; - color:transparent; + color: transparent; } tbody.game-board button.square-X { @@ -70,6 +72,6 @@ tbody.game-board button.square-O { background-size: 100% 100%; } -tbody.game-board button.square-_ { +tbody.game-board button.square-_:enabled { cursor: pointer; }