From c1eef2b4972cd84a74f5258e15f4592a5aab2bd5 Mon Sep 17 00:00:00 2001 From: "j.vondoemming" <j.vondoemming@stud.uni-goettingen.de> Date: Wed, 24 Mar 2021 20:38:27 +0100 Subject: [PATCH] updated menu css --- static/style.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/static/style.css b/static/style.css index 5b5afc6..5d3477e 100644 --- a/static/style.css +++ b/static/style.css @@ -104,6 +104,7 @@ body > header a { text-decoration: none; text-align: center; transition: background-color 0.1s, border 0.1s; + padding-top: 0.2em; } body > header a:hover { background-color: #e6e6e6; @@ -146,10 +147,6 @@ body > footer { "footer"; } - body > header > input[type=checkbox]:checked ~ nav{ - display: block; - } - } @media only screen and (max-width: 75em) { @@ -170,12 +167,14 @@ body > footer { body > header a { width: 100%; /*! margin-top: 0.2em; */ - padding-top: 0.2em; padding-bottom: 0.2em; box-sizing: border-box; display: block; border-top: 0.1em solid #333; } + body > header > input[type=checkbox]:checked ~ nav{ + display: block; + } body { grid-template-rows: 2em 1fr 6em 5em; grid-template-columns: 1fr; -- GitLab