From 3e39d4f4f788fc1a022d71e316e67759682c5ebc Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 23 May 2022 02:46:05 +0200 Subject: Mobile layout. --- play.css | 23 +++++++++++++++++++++++ play.html | 2 ++ 2 files changed, 25 insertions(+) diff --git a/play.css b/play.css index e9e08e3..e556ccf 100644 --- a/play.css +++ b/play.css @@ -215,6 +215,29 @@ svg circle, .piece { body.Tripolitania #popup div.tr_always { display: block; } body.United_States #popup div.us_always { display: block; } +/* MOBILE PHONE LAYOUT */ + +@media (max-width: 640px) { + .hand .card { + width: 125px; + height: 175px; + border-radius: 6px; + } + .hand { + min-height: 125px; + } + .hand_separator { + display: none; + } + #core_cards { + background-color: darkslategray; + } + #tooltip.card { + top: 10px; + right: 10px; + } +} + /* CARD IMAGES */ .card { diff --git a/play.html b/play.html index 7c9f37a..bc37b60 100644 --- a/play.html +++ b/play.html @@ -27,6 +27,7 @@
+
+
-- cgit v1.2.3