diff --git a/static/style.css b/static/style.css index 5b5afc6de339090d9cd3489bb914dd888bc9492e..5d3477eed632dc21f0d03aa3363db770c0d81865 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;