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: update `scroll-padding-top` to 4rem · nodejs/node@2d92ec2

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
+1-8Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@
4040
--color-text-secondary: var(--green2);
4141
}
4242

43-
h2 :target,
44-
h3 :target,
45-
h4 :target,
46-
h5 :target {
47-
scroll-margin-top: 55px;
48-
}
49-
5043
.dark-mode {
5144
--background-color-highlight: var(--black2);
5245
--color-critical: var(--red4);
@@ -76,7 +69,7 @@ h5 :target {
7669
html {
7770
font-size: 1rem;
7871
overflow-wrap: break-word;
79-
scroll-padding-top: 50vh;
72+
scroll-padding-top: 4rem;
8073
-webkit-font-smoothing: antialiased;
8174
-moz-osx-font-smoothing: grayscale;
8275
-webkit-font-variant-ligatures: none;

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.