From 3ade7310a7fdf71466c2ab966cad9fa8da2628fc Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 7 May 2025 11:36:13 +0300 Subject: [PATCH] Enha: responsive styles --- components/base.html | 2 +- components/cardtable.html | 4 ++-- components/login.html | 2 +- components/room.html | 14 +++++++++----- components/teampew.html | 5 +++-- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/components/base.html b/components/base.html index 63b1961..d2ca24f 100644 --- a/components/base.html +++ b/components/base.html @@ -13,7 +13,7 @@ body{ background-color: #0C1616FF; color: #8896b2; - max-width: 800px; + max-width: 1000px; min-width: 0; margin: 2em auto !important; margin-left: auto; diff --git a/components/cardtable.html b/components/cardtable.html index 6609337..c496e63 100644 --- a/components/cardtable.html +++ b/components/cardtable.html @@ -1,7 +1,7 @@ {{define "cardtable"}} -
-
+
+
{{range .Room.Cards}} {{template "cardword" .}} {{end}} diff --git a/components/login.html b/components/login.html index bbbe3a4..68179b2 100644 --- a/components/login.html +++ b/components/login.html @@ -4,7 +4,7 @@
- +
this name looks available
diff --git a/components/room.html b/components/room.html index 81fedd1..403a55d 100644 --- a/components/room.html +++ b/components/room.html @@ -1,12 +1,16 @@ {{define "room"}} -
-
-

Hello {{.Username}}

-
+
+

Hello {{.Username}}

+
+
+
{{template "teampew" "blue"}} - {{template "cardtable" .}} {{template "teampew" "red"}}
+
+
+ {{template "cardtable" .}} +
{{end}} diff --git a/components/teampew.html b/components/teampew.html index f908a41..5ee2386 100644 --- a/components/teampew.html +++ b/components/teampew.html @@ -1,9 +1,10 @@ {{define "teampew"}} -
+ +

Join {{.}} Team

-
+