summaryrefslogtreecommitdiff
path: root/play.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-17 18:33:41 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-20 19:05:27 +0200
commit49480720cf474a7cc74854f912b868efb8a20f27 (patch)
tree62194ed431f72ffaf68baf5c3e70d4bfdb7f765c /play.css
parente277a5e25c13469deacdf016b59b6073788b4d1c (diff)
downloadtime-of-crisis-49480720cf474a7cc74854f912b868efb8a20f27.tar.gz
Mobile phone layout.
Diffstat (limited to 'play.css')
-rw-r--r--play.css16
1 files changed, 7 insertions, 9 deletions
diff --git a/play.css b/play.css
index 6053b21..80f302c 100644
--- a/play.css
+++ b/play.css
@@ -82,6 +82,12 @@ body.Green .your_turn { background-color: hsl(99,36%,65%) }
cursor: pointer;
}
+@media (max-width: 800px) {
+ #panel_list {
+ min-width: 2550px;
+ }
+}
+
#mapwrap {
width: 2550px;
height: 1740px;
@@ -674,7 +680,7 @@ body.tint .legion.reduced {
.panel {
background-color: #444;
- max-width: min(calc(100% - 30px), 1636px);
+ width: clamp(824px, calc(100% - 30px), 1636px);
margin: 12px auto 36px auto;
box-shadow: 1px 2px 6px #0004;
border: 1px solid #0008;
@@ -801,11 +807,3 @@ body.tint .legion.reduced {
border: 2px solid #444;
opacity: 0.8;
}
-
-/* MOBILE LAYOUT */
-
-@media (max-width: 640px) {
- .panel_body {
- justify-content: center;
- }
-}