Added responsive CSS styles for navigation menu and icons, enhancing usability on smaller screens. #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added responsive CSS styles for navigation menu and icons, enhancing usability on smaller screens.
• Media Queries: These are used to apply styles only on specific screen sizes.
• max-width: 768px: Styles for screens with a width of 768px or less.
• max-width: 568px: Styles for screens with a width of 568px or less.
• Navigation Menu (.nav__menu): Initially hidden off-screen. When the .open class is added, it slides into view.
• Logo (.nav__logo): Width is adjusted to 50% for smaller screens.
• Hamburger Menu (.nav__hamburger): Displayed only on smaller screens.
• Menu Top Section (.menu__top): Uses flexbox for layout and has specific padding and background color.
• SVG Icons in Menu Top (.menu__top svg): Size and fill color are set.
• Navigation Category (.nav__category): Styled with specific text color, font size, and weight.
• Navigation List (.nav__list): Uses flexbox to stack items vertically and aligns them to the start.
• Navigation Items (.nav__item): Adjusted width and margins for better alignment on smaller screens.
• Navigation Links (.nav__link): Styled for links, including padding and color.
• Body Active State (body.active::before): Adds an overlay when the menu is active to dim the background.
• Icon Styles for Smaller Screens: Adjusts the size and padding of icons for better display on very small screens.