Skip to content

Commit 63d28b8

Browse files
authored
Update nav.css
1 parent 1f58676 commit 63d28b8

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

assets/css/nav.css

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,6 @@
5555

5656
/* Responsive design adjustments for mobile */
5757
@media print, screen and (max-width: 960px) {
58-
.topnav {
59-
flex-direction: column; /* Stacks items vertically */
60-
align-items: flex-start; /* Aligns items to the left */
61-
padding: 0; /* Removes all padding */
62-
margin: 0; /* Removes all margin */
63-
margin-left:0;
64-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Adds a shadow below the bar */
65-
width: 100%; /* Ensures full width */
66-
}
67-
6858
.topnav #myLinks {
6959
display: none; /* Hidden by default on mobile */
7060
}
@@ -73,14 +63,13 @@
7363
float: none;
7464
display: block; /* Shows the hamburger icon on mobile */
7565
font-size: 14px; /* Slightly smaller font size */
76-
background-color: #808080;
77-
color: #ffffff; /* White text for better contrast */
66+
background-color: #ffffff; /* White text for better contrast */
67+
color: #808080;
7868
padding: 6px 10px; /* Minimal padding for a thinner icon */
7969
margin: 0; /* Removes all margins */
8070
cursor: pointer;
8171
border-radius: 0; /* Removes rounded edges */
8272
align-self: flex-start; /* Aligns the icon to the left */
83-
width: 100%; /* Ensures full width for the icon */
8473
}
8574

8675
.topnav a.normal {

0 commit comments

Comments
 (0)