diff options
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; |