From 0e5f32f6738e495d7a001d59326d912976db9a07 Mon Sep 17 00:00:00 2001 From: RemRem Date: Wed, 15 Mar 2023 15:02:47 +0100 Subject: [PATCH] roomPage.html css + idk --- styles/room.css | 44 ++++++++++++++++++--- views/cards.html | 99 ------------------------------------------------ views/room.html | 68 ++++++++++++++++++++------------- 3 files changed, 80 insertions(+), 131 deletions(-) diff --git a/styles/room.css b/styles/room.css index 63ae76e..b4c95e9 100644 --- a/styles/room.css +++ b/styles/room.css @@ -6,17 +6,21 @@ body { section { display: flex; + padding: 3em; flex-direction: column; - height: 100vh; - width: 50vw; + height: calc(100vh - 6em); } -#right-section { - background-color: aqua; +#left-section { + background-color: white; + width: 70vw; } -#left-section { +#right-section { + display: flex; + justify-content: space-between; background-color: white; + width: 30vw; } button { @@ -24,6 +28,7 @@ button { justify-content: center; align-items: center; padding: 1.2em; + margin-bottom: 1em; background-color: white; border: 0.2rem solid black; border-radius: 0.5em; @@ -32,13 +37,17 @@ button { } #or { + display: flex; + text-align: center; + justify-content: center; font-family: var(--font); font-size: 4rem; font-weight: bolder; color: black; + margin: 1em; } -.sub-title { +.subtitle { font-family: var(--font); font-size: 1.6em; font-weight: bold; @@ -46,4 +55,27 @@ button { input[type="checkbox"] { +} + +.group { + margin-bottom: 5em; +} + +.param { + margin-top: 1em; +} + +#players { + display: flex; + flex-direction: column; +} + +#players span { + margin-top: 1em; + font-size: large; +} + +#start { + bottom: 3vh; + right: 3vw; } \ No newline at end of file diff --git a/views/cards.html b/views/cards.html index eb0ddac..e7ecc45 100755 --- a/views/cards.html +++ b/views/cards.html @@ -115,105 +115,6 @@
- -
diff --git a/views/room.html b/views/room.html index 391111e..79ed025 100644 --- a/views/room.html +++ b/views/room.html @@ -11,42 +11,58 @@
+
+ + +
+ OR - Card number to make a set -
- 3 - 4 - 5 +
+ Game parameters +
+
+
+
+
+ HyperSet
+
+
+ +
+ Card number to make a set +
+ 3 + 4 + 5 +
- Attributes to play with -
- number - color - shape - filling - outline (c'est nul) +
+ Attributes to play with +
+ number + color + shape + filling + outline (honnĂȘtement c'est nul) +
+
- Game parameters - - Private - JE SUIS UN SLIDER - - HyperSet - -
- List of player in room: - Aurianus - Basuw - Raph - Remrem +
+ List of players waiting in the room: +
+ Aurianus + Basuw + Raph + Remrem +
- +