From afd4750ef18fc4b79a0ab6b5e294f2d51344dd86 Mon Sep 17 00:00:00 2001 From: Geoffrey Allott Date: Fri, 26 May 2023 21:02:59 +0100 Subject: [PATCH] style adjustments --- site/style/chatroom.css | 2 +- site/style/game-list.css | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/site/style/chatroom.css b/site/style/chatroom.css index 7c7246c..3b36722 100644 --- a/site/style/chatroom.css +++ b/site/style/chatroom.css @@ -27,7 +27,7 @@ .chatroom-username { justify-self: left; - width: 36vmin; + width: 32vmin; height: 100%; margin: 0.5vmin; background-color: grey; diff --git a/site/style/game-list.css b/site/style/game-list.css index e44e83b..b0c88fa 100644 --- a/site/style/game-list.css +++ b/site/style/game-list.css @@ -4,17 +4,17 @@ display: flex; flex-direction: column; overflow: hidden; - font-size: 3vw; + font-size: 3vh; } .game-list-outside > input { width: 100%; - height: 4vw; + height: 4vh; font-size: inherit; } .game-list-outside > button { - height: 10vw; + height: 10vh; width: 100%; font-size: inherit; } @@ -43,15 +43,15 @@ grid-column: 2 / 3; grid-row: 2 / 3; background-color: skyblue; - border-radius: 2vw; - padding: 4vw; - font-size: 3vw; + border-radius: 2vh; + padding: 4vh; + font-size: 3vh; } .game-popup > table { border-collapse: collapse; width: 100%; - height: calc(100% - 4vw); + height: calc(100% - 10vh); } .game-popup > table.TexasHoldEm tr.game-field { @@ -102,7 +102,7 @@ .game-popup > button { width: 100%; - font-size: 4vw; + font-size: 4vh; } @keyframes new-game { @@ -123,6 +123,7 @@ .game-summary { border: 1px solid grey; border-top: none; + height: 10vh; font-family: sans; cursor: pointer; background-color: #ffffff; -- 2.34.1