From 21aadcad966ec4471cc570b2b3de495e42e7cbbc Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Wed, 27 Jul 2022 11:53:55 +0100 Subject: [PATCH] . --- base.css | 16 ++++++++-------- dark.css | 2 +- index.go.html | 3 +++ light.css | 2 +- pageHandler/pages/index/entry.go | 4 ++++ 5 files changed, 17 insertions(+), 10 deletions(-) diff --git a/base.css b/base.css index 9627ba6..1df1e06 100644 --- a/base.css +++ b/base.css @@ -21,18 +21,18 @@ main{ top: 0; width: 100%; } -.home-button{ +.home-button, .sort-button{ display: inline-block; - width: 76px; + width: 64px; height: 82px; overflow: hidden; + text-align: center; } -.home-button > div{ +.home-button > div, .sort-button > div{ display: inline; font-size: 60px; - padding: 12px 8px; + padding: 10px; vertical-align: middle; - text-align: center; } .nav{ width: 100%; @@ -40,7 +40,7 @@ main{ overflow: hidden; max-height: 0; } -.nav-menu{ +.nav-menu, .sort-menu, .duration-hold{ display: none; } .menu a{ @@ -104,7 +104,7 @@ main{ align-content: center; width: 100%; } -.main-box > div{ +.main-box > div, footer > p{ margin: 3px 0; padding: 2px; box-sizing: content-box; @@ -166,7 +166,7 @@ main{ margin: 2px; } @media (min-width: 540px){ - .main-box > div{ + .main-box > div, footer > p{ margin: 5px; } .item-table-360{ diff --git a/dark.css b/dark.css index a6a4bc7..f408aa8 100644 --- a/dark.css +++ b/dark.css @@ -12,7 +12,7 @@ a{ .home-button > div, .menu a{ color: #e0e0e0; } -.home-button:hover, .menu a:hover, .hmb:hover{ +.home-button:hover, .menu a:hover, .hmb:hover, .sort-button div, .sort-menu:checked ~ .sort-button div{ background-color: #606061; } .hmb-line, .hmb-line::before, .hmb-line::after{ diff --git a/index.go.html b/index.go.html index 23467fb..f61034e 100644 --- a/index.go.html +++ b/index.go.html @@ -26,6 +26,8 @@
{{ end }} {{ end }} + +