Fix mobile hamburger menu green background making text invisible #43
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.
The mobile hamburger menu had a green background (
#cec) that made the text completely invisible, creating a poor user experience on mobile devices. The second level of the dropdown worked correctly with proper contrast, but the first level was unusable.Problem
The CSS rule for
.navbar-inverse-collapsewas settingbackground-color: #cec(light green) without any corresponding text color adjustments, making menu items invisible to users.Solution
#cectovar(--navbar-bg-color)(#00477d- dark blue) for consistency with the site's design system--navbar-text-colorand--navbar-text-hover-color) following the site's established patternVisual Demonstration
The screenshot shows the dramatic improvement: the "BEFORE" section demonstrates how text was completely invisible on the green background, while the "AFTER" section shows clear, readable white text on the dark blue background.
Technical Changes
This fix ensures the mobile navigation is accessible, maintains consistency with the overall design theme, and follows the established CSS variable pattern for better maintainability.
Fixes #42.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.