Conversation
Every project page now carries the same shell: a sticky bar with my name and the two links a reader actually wants, then tabs that follow scroll. Nothing else is shared. The nav is written entirely in this page's own CSS variables, so it takes the palette it is dropped into rather than importing a second one. Section anchors are prefixed sec- because the obvious slugs collide with ids the pages already use for tables and pickers, and two elements sharing an id hands the JS the wrong one.
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.
Every project page now carries the same shell: a sticky bar with my name, GitHub and LinkedIn, then section tabs that follow scroll. Nothing else is shared between them.
The nav is written entirely in each page's own CSS variables, so it takes the palette it is dropped into instead of importing a second one: cream on the paper pages, dark on the console ones.
Section anchors are prefixed
sec-because the obvious slugs collide with ids these pages already use for tables and pickers. Two elements sharing an id handsgetElementByIdthe wrong one, which took four of these pages down before I caught it.Verified in headless Chromium: tabs present, every anchor resolves, no duplicate ids, no console errors, no horizontal overflow.