From 36b5162fd1733f1921707b4805e687e95997cc5d Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Sat, 6 Aug 2022 04:15:43 +0200 Subject: [PATCH] fixed sitemenu in mobile view --- theme/static/css/main.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 3df9ee0..bcec2ab 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -183,7 +183,7 @@ body > header h1 img { } #sitemenu-container nav { display: none; - /*border-top: 0.1rem solid #333;*/ + border-top: 0; position: fixed; top: 3.2rem; left: 0; @@ -193,7 +193,7 @@ body > header h1 img { #sitemenu-container nav > ul { flex-direction: column; } - #sitemenu-container nav > li { + #sitemenu-container nav > ul > li { width: 100%; background-color: var(--category-contrast-color); } @@ -211,9 +211,9 @@ body > header h1 img { line-height: 2rem; /* border-top: 0.1rem solid #333; */ } - #sitemenu-container a:hover { + /*#sitemenu-container a:hover { border-bottom: 0.1rem solid #536; - } + }*/ #sitemenu-container input[type=checkbox]:checked ~ .show-header-menu-bg { display: block; } -- GitLab