Skip to content

Commit 15e01aa

Browse files
authored
fixed smooth scroll (#14)
1 parent 735e88b commit 15e01aa

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

assets/theme-dark.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<header>
22
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/sunburst.min.css">
33
<style>
4+
5+
html{
6+
scroll-behavior: smooth;
7+
}
8+
49
body {
510
font-family: calibri;
611
font-size: 18px;

assets/theme-light.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<header>
22
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/github-gist.min.css">
33
<style>
4+
5+
html{
6+
scroll-behavior: smooth;
7+
}
8+
49
body {
510
font-family: calibri;
611
font-size: 18px;

0 commit comments

Comments
 (0)