Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
73a09f25
Commit
73a09f25
authored
5 years ago
by
Jonathan Neal
Browse files
Options
Download
Email Patches
Plain Diff
Use scroll-margin to offset links when the navigation is sticky
parent
57c890d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
website/pages/style.css
+2
-16
website/pages/style.css
with
2 additions
and
16 deletions
+2
-16
website/pages/style.css
+
2
-
16
View file @
73a09f25
...
...
@@ -99,22 +99,8 @@
}
/* Permalink adjustment for sticky nav */
.g-content
{
&
h1,
&
h2,
&
h3,
&
h4,
&
h5,
&
h6,
&
li
{
position
:
relative
;
&
.__target-h,
&
.__target-lic
{
position
:
absolute
;
top
:
-75px
;
}
}
.g-subnav
~
*
:target
{
scroll-margin-top
:
calc
(
64px
+
0.5em
);
}
/* Web Fonts */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help