Skip to content

Commit 4eefa2d

Browse files
authored
add scroll-margin-top for navbar to footnote links (#1088)
1 parent c0de55b commit 4eefa2d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

static/assets/stylesheet.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ tt {
331331
font-size: 13pt !important;
332332
}
333333

334+
/* Leave space for navbar above footnote links */
335+
.footnote-number {
336+
scroll-margin-top: 4rem;
337+
}
334338

335339
.nav .btn {
336340
/*display: none;*/
@@ -350,12 +354,11 @@ tt {
350354
left: 40vw;
351355
}
352356

353-
354357
:not(ref) > .superscript {
355358
font-variant-position: super;
359+
scroll-margin-top: 4rem;
356360
}
357361

358-
359362
ul {
360363
list-style: none;
361364
padding-left: 0;

0 commit comments

Comments
 (0)