From 7db29469e3aae23b5ba9015ed2982d9ebd7a365d Mon Sep 17 00:00:00 2001 From: Keyemail Date: Fri, 26 Jul 2024 04:56:32 -0700 Subject: [PATCH] Fixed mobile nav --- src/styles/main.css | 48 +-------------------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/src/styles/main.css b/src/styles/main.css index ac02509..f284baa 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -84,53 +84,7 @@ nav { } } -#mobileNav { - position: absolute; - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.9); - left: 0; - top: 0; - z-index: 9; - - i { - float: right; - font-size: 35px; - cursor: pointer; - transition: 0.3s color; - } - - div { - display: flex; - align-items: center; - justify-content: center; - height: 100%; - } - - div li { - cursor: pointer; - margin-left: 10px; - font-weight: 400; - transition: color 0.3s; - font-size: 40px; - text-align: center; - font-family: 'Rubik', sans-serif; - margin: 10px; - } - - div a { - color: white; - text-decoration: none; - transition: 0.3s color; - } - - - div a:hover { - color: #74d2f1; - } -} - -@media screen and (max-width: 390px) { +@media screen and (max-width: 430px) { nav { justify-content: center;