diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-20 19:01:29 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-20 19:01:29 +0200 |
commit | 4e9345ccc9ab4eb8c8b7ae15647deb65147ea268 (patch) | |
tree | 66a3f0ae105909a9f73f0007a304387b2feb9402 /play.css | |
parent | 0fcf0a53f80077b3aaad1e4e8290ded060906704 (diff) | |
download | nevsky-4e9345ccc9ab4eb8c8b7ae15647deb65147ea268.tar.gz |
Mobile layout.
Diffstat (limited to 'play.css')
-rw-r--r-- | play.css | 28 |
1 files changed, 19 insertions, 9 deletions
@@ -685,10 +685,23 @@ body.shift .mustered_vassals { .card_info { border-bottom: 1px solid black; + padding: 12px; + overflow: clip; } .card_info .card { - margin: 12px auto; + margin: 0 auto; +} + +@media (max-height: 800px) { + .card_info { height: 95px; } + .card_info:hover { height: auto; } +} + +@media (max-height: 600px) { + .card_info { + display: none; + } } .card.disabled { @@ -703,24 +716,21 @@ body.shift .mustered_vassals { /* MAP */ -#mapwrap { - width: 1275px; - height: 1650px; - box-shadow: 0px 1px 10px #0008; - z-index: 3; -} - #map { + margin: 0 auto ; + position: relative; background-repeat: no-repeat; background-size: cover; width: 1275px; height: 1650px; overflow: clip; + box-shadow: 0px 1px 10px #0008; + z-index: 3; } #map { background-image: url(map75.jpg) } @media (min-resolution: 97dpi) { -#map { background-image: url(map150.jpg) } + #map { background-image: url(map150.jpg) } } .box { |