GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: add scroll margin to links · nodejs/node@cb95e18

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api_assets
    • style.css
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api_assets/style.css‎

Copy file name to clipboardExpand all lines: doc/api_assets/style.css
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,11 @@ p {
373373
padding-bottom: 2rem;
374374
}
375375

376+
/* prevent the module-level sticky stability header from overlapping the section headers when clicked */
377+
#apicontent:has(> .api_stability) a {
378+
scroll-margin-top: 50px;
379+
}
380+
376381
table {
377382
border-collapse: collapse;
378383
margin: 0 0 1.5rem;
@@ -837,6 +842,9 @@ kbd {
837842
.api_stability {
838843
top: 0;
839844
}
845+
#apicontent a {
846+
scroll-margin-top: 0;
847+
}
840848
}
841849

842850
@media not screen, (max-height: 1000px) {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.