From 420cf921f1d6b76c60eda0f9352c703968b99b33 Mon Sep 17 00:00:00 2001 From: LibreHacker Date: Sun, 13 Sep 2020 16:56:20 +0300 Subject: [PATCH] fix menu for mobile --- css/base.css | 2 +- css/menu.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/css/base.css b/css/base.css index db41ce6..f93ecdd 100644 --- a/css/base.css +++ b/css/base.css @@ -24,7 +24,7 @@ height: 99%; color: #c5c6c7; padding: 1% 1% 1% 1%; - margin: 1% 1% 1% 1%; + margin: 15% 1% 1% 1%; } .imgblock img { diff --git a/css/menu.css b/css/menu.css index 80bf898..ab807a6 100644 --- a/css/menu.css +++ b/css/menu.css @@ -37,18 +37,19 @@ input[type=checkbox] { } label { - position: absolute; + position: fixed; left: 0; display: none; width: 2em; height: .5em; - padding: .05em; + padding: 20px; font-size: 1.1em; color: #fff; transition: color .3s ease-in-out; cursor: pointer; user-select: none; margin: 0; + background-color:blue; } /* big screens */