Lock navbar and add border/shadow styling#3635
Open
ankitkr104 wants to merge 2 commits intogithub:mainfrom
Open
Lock navbar and add border/shadow styling#3635ankitkr104 wants to merge 2 commits intogithub:mainfrom
ankitkr104 wants to merge 2 commits intogithub:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the site’s top navigation styling so the navbar remains visible during scroll and has clearer visual separation from page content.
Changes:
- Made the top navbar sticky (
position: sticky; top: 0) so it stays at the top while scrolling. - Added a bottom border and subtle box shadow to visually separate the navbar from content.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Add scroll-padding-top to html to offset navbar height - Add scroll-margin-top to article headings for smoother anchor scrolling - Prevents headings from being hidden under sticky navbar when navigating via TOC or hash links
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
This PR improves the top navigation behavior and visual separation on scroll.
What Changed
Why
Keeping the navbar fixed improves navigation usability, especially on long guide pages.
The border and shadow make the fixed navbar feel intentional and easier to distinguish from the content beneath it.
Recording:
new.mp4
Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.