diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-17 18:33:41 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-20 19:05:27 +0200 |
commit | 49480720cf474a7cc74854f912b868efb8a20f27 (patch) | |
tree | 62194ed431f72ffaf68baf5c3e70d4bfdb7f765c /play.css | |
parent | e277a5e25c13469deacdf016b59b6073788b4d1c (diff) | |
download | time-of-crisis-49480720cf474a7cc74854f912b868efb8a20f27.tar.gz |
Mobile phone layout.
Diffstat (limited to 'play.css')
-rw-r--r-- | play.css | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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; - } -} |