From b204876cfd803fc115029ac6501c67657dcec19e Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Fri, 23 Jul 2021 17:57:49 +0530 Subject: added menu to switch single/multiplayer --- src/components/style.css | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'src/components/style.css') diff --git a/src/components/style.css b/src/components/style.css index d33d775..3baf6d5 100644 --- a/src/components/style.css +++ b/src/components/style.css @@ -16,18 +16,6 @@ * along with this program. If not, see . */ -/*body, #root { - margin: 0px; - height: 100vh; - width: 100vw; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - background-color: #232627; - color: white; -}*/ - body { margin: 0; padding: 0; @@ -42,6 +30,24 @@ body { left: 0; right: 0; } +.GamemodeChooser { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + height: 90%; + width: 100%; +} + +.GamemodeChooser div { + border: 1px solid #5b76b7; + text-align: center; + font-size: 1.5rem; + padding: 0.5rem 0; + width: 15rem; + margin: 1rem; +} + .MessageBox { font-size: 7rem; display: flex; -- cgit v1.2.3 From b353dda4df7fc7be973e52a2f529360e7bfc8fed Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Sat, 24 Jul 2021 18:14:26 +0530 Subject: Added menu to host/join game and protection against cheating --- src/components/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/style.css') diff --git a/src/components/style.css b/src/components/style.css index 3baf6d5..79ef49e 100644 --- a/src/components/style.css +++ b/src/components/style.css @@ -39,7 +39,7 @@ body { width: 100%; } -.GamemodeChooser div { +.GamemodeChooser .GamemodeButton { border: 1px solid #5b76b7; text-align: center; font-size: 1.5rem; -- cgit v1.2.3