diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-18 16:07:39 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-18 16:07:39 +0200 |
commit | d3e65b98ca932aef1e05e33d74eaf62be520cdd4 (patch) | |
tree | 3645410b3c4c857d1a602f6b6abda71b106aae64 /resources/css/menu.css | |
parent | aa44f67ab57673528e96a4a075fbd8cd0354bd68 (diff) |
inventory and items
Diffstat (limited to 'resources/css/menu.css')
-rw-r--r-- | resources/css/menu.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/resources/css/menu.css b/resources/css/menu.css index 72c225a..de8d8ce 100644 --- a/resources/css/menu.css +++ b/resources/css/menu.css @@ -42,6 +42,43 @@ } +.tabs { + display: grid; +} + +.tabs > input { + display: none; +} + +.tabs > input:checked + .tabs__tab-heading { + background-color: rgba(255, 255, 255, 0.75); +} +.tabs__tab-heading { + cursor: pointer; + background-color: rgba(0, 0, 0, 0.1); + text-align: center; +} + +.tabs__panels { + grid-column: 1 / -1; +} + +.tabs__tab-panel { + display: none; +} + +.tabs > input:nth-child(1):checked ~ .tabs__panels > .tabs__tab-panel:nth-child(1), +.tabs > input:nth-child(3):checked ~ .tabs__panels > .tabs__tab-panel:nth-child(2), +.tabs > input:nth-child(5):checked ~ .tabs__panels > .tabs__tab-panel:nth-child(3), +.tabs > input:nth-child(7):checked ~ .tabs__panels > .tabs__tab-panel:nth-child(4), +.tabs > input:nth-child(9):checked ~ .tabs__panels > .tabs__tab-panel:nth-child(5), +.tabs > input:nth-child(11):checked ~ .tabs__panels > .tabs__tab-panel:nth-child(6) { + display: block; +} + + + + .gender-icon { line-height: 1em; } @@ -72,6 +109,22 @@ } + +.inventory {} + +.inventory__popup { + align-items: start; +} +.inventory__popup .popup { + margin-top: 10vh; +} + +.inventory .tabs__tab-heading { + font-size: 1.25rem; +} + + + .menu__journal { display: flex; flex-direction: column; |