diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-03 13:51:18 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-07-05 01:46:46 +0200 |
commit | 1583230b90e179914f158fc84dc8f60b5f96d860 (patch) | |
tree | 062d51185bcfa219c416945a91811a4d0b371f11 | |
parent | 1f6d373841b27a6e1bc859ebe1a26c7e49f52409 (diff) | |
download | server-1583230b90e179914f158fc84dc8f60b5f96d860.tar.gz |
Responsive small card displays.
-rw-r--r-- | public/common/grid.css | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/public/common/grid.css b/public/common/grid.css index bd06057..09ca8ab 100644 --- a/public/common/grid.css +++ b/public/common/grid.css @@ -22,6 +22,10 @@ html, body, div { padding: 0; } +html { + overflow: clip; +} + .status { position:absolute; z-index: 100; @@ -58,7 +62,6 @@ html, body, div { grid-column: 2; grid-row: 2; border-left: 1px solid black; - overflow: clip; width: 209px; } @@ -87,6 +90,7 @@ html, body, div { .role_info { border-bottom: 1px solid black; + overflow: clip; /* clip dropshadow from filter:grayscale() stacking context */ } .turn_info { @@ -130,7 +134,7 @@ html, body, div { } .grid_top.disconnected { - background-color: red; + background-color: red !important; } .menu { @@ -227,18 +231,12 @@ html, body, div { } .small_card { - margin: 15px; + margin: 0 auto; background-size: cover; background-repeat: no-repeat; transition: 100ms; box-shadow: 1px 1px 5px rgba(0,0,0,0.5); } -.one .small_card:hover { - transform: scale(2.0) translate(0,35px); -} -.two .small_card:hover { - transform: scale(2.0) translate(0,-35px); -} .mapwrap { margin: 0 auto; |