From 0c0b01eb2d51984b7f98ffffefbdf6823ca5e585 Mon Sep 17 00:00:00 2001 From: rawleyIfowler Date: Sat, 16 Apr 2022 16:31:55 -0500 Subject: [PATCH] fixed nav bar for mobile --- static/index.css | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/static/index.css b/static/index.css index ab1e63a..86966c1 100644 --- a/static/index.css +++ b/static/index.css @@ -102,12 +102,14 @@ a:hover:after { .nav-bar { display: flex; flex-direction: row; + flex-wrap: wrap; margin-top: calc(12px + 1vh); - margin-bottom: 1vw; + margin-bottom: 0.66vw; } .nav-item { margin-right: 12px; + margin-top: 6px; font-size: 1.5em; } @@ -196,14 +198,3 @@ code { color: #50fa7b; } } - -@media only screen and (max-width: 576px) { - .nav-bar { - flex-direction: column; - - } - .nav-item { - margin-top: 3px; - margin-bottom: 3px; - } -}