Remove custom submenu CSS and simplify nav styles#469
Merged
JoeProgrammer88 merged 1 commit intomainfrom Feb 21, 2026
Merged
Conversation
Removed all custom submenu-related CSS, including styling and hover effects for .submenu-container, .submenu-item, and .submenu classes. Cleaned up vendor-prefixed transitions and retained main menu item hover/background styles. Navigation now relies on default Bootstrap dropdown behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Removed all custom submenu-related CSS, including styling and hover effects for .submenu-container, .submenu-item, and .submenu classes. Cleaned up vendor-prefixed transitions and retained main menu item hover/background styles. Navigation now relies on default Bootstrap dropdown behavior.
Copilot Summary
This pull request makes several simplifications and cleanups to the navigation and menu-related CSS in
site.css. The main focus is on removing unused or redundant styles, especially those related to submenus, and on reducing vendor-prefixed properties for a more modern and maintainable codebase.Navigation and submenu CSS cleanup:
.submenu-container,.submenu-item, and#bootstrap-override .submenu, including positioning, padding, and styling, as these submenu structures are no longer used or required..submenuand.submenu-itemfrom various selectors, reflecting that submenu-specific styles are no longer necessary. [1] [2] [3]Vendor prefix and legacy property removal:
-webkit-,-moz-,-o-) for color and background-color transitions, relying on standard CSS for modern browser support. [1] [2]General navigation style adjustments:
position: absolute;property from.navbar-nav .dropdown-menuto allow for default Bootstrap positioning.display: -webkit-flex;and-webkit-justify-contentfrom navigation layout, as standard flexbox is sufficient.These changes help modernize the stylesheet, reduce complexity, and ensure that only actively used navigation elements are styled.