From 0e03956564fc9211e376005523a8d884741d2ff7 Mon Sep 17 00:00:00 2001 From: Derek Servin Date: Thu, 25 Jul 2024 15:28:53 -0400 Subject: [PATCH] nav4 --- assets/css/main.css | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 1205281..33a7fe9 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -3319,17 +3319,18 @@ input, select, textarea { font-size: 0.9em; } - @media screen and (max-width: 400px) { - + + /* Responsive styles */ + @media screen and (max-width: 737px) { #nav { - display: none; + max-width: 400px; /* Set max width to 400px */ + width: 100%; /* Ensure it takes up full width */ + } + #nav ul li { + flex: 1 0 50%; /* Make each item take 50% of the width */ + margin: 5px 0; /* Adjust margin for spacing */ + text-align: center; /* Center align text */ } - - #nav + #main { - padding-top: 0; - } - - } /* Main */