diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-05-23 02:46:05 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 3e39d4f4f788fc1a022d71e316e67759682c5ebc (patch) | |
tree | aa34598b53f06e29aca14822078f42ab6a0aa0f0 | |
parent | 0fb1e2f50f15ddf4096a274366e27de2258a73e9 (diff) | |
download | shores-of-tripoli-3e39d4f4f788fc1a022d71e316e67759682c5ebc.tar.gz |
Mobile layout.
-rw-r--r-- | play.css | 23 | ||||
-rw-r--r-- | play.html | 2 |
2 files changed, 25 insertions, 0 deletions
@@ -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 { @@ -27,6 +27,7 @@ </div> <header> + <div id="toolbar"> <div class="menu"> <div class="menu_title"><img src="/images/cog.svg"></div> <div class="menu_popup"> @@ -42,6 +43,7 @@ </div> </div> <div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div> + </div> <div id="prompt"></div> <div id="actions"></div> </header> |