From 28c1cf09054a94a75ce7c36f52994182cc8bc1aa Mon Sep 17 00:00:00 2001 From: mitchelljfs Date: Mon, 9 Jul 2018 23:53:47 -0700 Subject: [PATCH] Modified site min-width --- src/Website.css | 4 ++-- src/components/Navbar/index.css | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Website.css b/src/Website.css index 8718818..1064f8a 100644 --- a/src/Website.css +++ b/src/Website.css @@ -9,11 +9,11 @@ margin: auto; margin-top: 50px; max-width: 500px; - min-width: 60%; + min-width: 50%; text-align: center; } -@media screen and ( max-width: 500px ) { +@media screen and (max-width: 500px) { .main-container { margin-bottom: 50px; margin-top: auto; diff --git a/src/components/Navbar/index.css b/src/components/Navbar/index.css index f29b22c..6ca8a47 100644 --- a/src/components/Navbar/index.css +++ b/src/components/Navbar/index.css @@ -26,8 +26,8 @@ } .navbar-menu { - margin: 0 18.75%; - width: 62.5%; + margin: 0 23.75%; + width: 52.5%; } .navbar-menu div { @@ -55,7 +55,7 @@ background-color: rgb(139, 191, 209); } -@media screen and ( max-width: 500px ) { +@media screen and (max-width: 500px) { .navbar { bottom: 0; padding-bottom: 5px; @@ -71,11 +71,11 @@ padding: 5px 0; width: 100%; } - + .navbar-menu div:hover { background-color: inherit; } - + .active-button div:hover { background-color: rgb(130, 160, 196); }