Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure anchor links in the nav TOC have plenty of space on top #3894

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,17 @@ div[class^="announcementBarContent"] {
cursor: pointer;
}

.markdown {
& > h1,
& > h2,
& > h3,
& > h4,
& > h5,
& > h6 {
scroll-margin-top: 10rem;
}
}

.gradient-text {
background-image: linear-gradient(108.55deg, #3b00b9 0%, #18d0b5 149.76%);
}
Expand Down Expand Up @@ -774,4 +785,4 @@ div[class^="announcementBarContent"] {

@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;
Loading