From 6d693c4d71d01082ead59bed862ad9fa879c1068 Mon Sep 17 00:00:00 2001 From: jerrylovescheese Date: Thu, 24 Aug 2023 12:39:42 +0800 Subject: [PATCH] Update style.css --- static/css/style.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/static/css/style.css b/static/css/style.css index 73927e3..e1b4727 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -82,6 +82,20 @@ body { } } +@media only screen and (max-width: 768px) and (pointer: none) { + .navigation-bar:hover { + top: 0 !important; + left: 0 !important; + width: 360px !important; + height: 100% !important; + border-top-left-radius: 0 !important; + border-bottom-left-radius: 0 !important; + border-top-right-radius: 15px !important; + border-bottom-right-radius: 15px !important; + background-position: 40px 40px !important; + } +} + .navigation-bar { width: 100px; height: 100px; @@ -107,7 +121,7 @@ body { top: 0; left: 0; width: 360px; - height: 100vh; + height: 100%; border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 15px;