diff options
Diffstat (limited to 'res/sidebar.css')
-rw-r--r-- | res/sidebar.css | 10 |
1 files changed, 8 insertions, 2 deletions
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 {
|