From 2587f84a629915a22cd7921b237f09d0b5b4dac3 Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Fri, 7 Oct 2022 09:36:16 +0200 Subject: [PATCH] sticky navigation closes GAUMI-fginfo/fg-website#56 --- theme/static/css/main.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 83a4115..f3163bd 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -94,8 +94,9 @@ body > header img { } #sitemenu-container { - /*background-color: #7ac;*/ - + top: -0.3rem; + position: sticky; + background-color: var(--body-bg-color); } #sitemenu-container nav { /*font-size: 0.875rem;*/ -- GitLab