From 89aef9a6dc94a889b7620182be493605f2232db6 Mon Sep 17 00:00:00 2001 From: Roman Gräf Date: Tue, 7 Nov 2017 16:04:18 +0100 Subject: Add files via upload --- res/sidebar.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'res/sidebar.css') diff --git a/res/sidebar.css b/res/sidebar.css index e228311..400d5d6 100644 --- a/res/sidebar.css +++ b/res/sidebar.css @@ -2,7 +2,7 @@ .sidebar { width: 25%; overflow: auto; - position: absolute; + position: fixed; top: 0; left: -25%; transition: all 500ms; @@ -14,7 +14,9 @@ z-index:9; } - +.spacer { + height: 50px; +} @media (max-width: 580px) { .sidebar { @@ -34,6 +36,9 @@ } .teal { + position: fixed; + top: 0; + left: 0; display: flex; justify-content: space-between; width: 100%; @@ -42,6 +47,7 @@ box-sizing: border-box; margin: 0; padding: 10px; + height: 50px; } .hamburger::before { -- cgit