Skip to content

Commit 4742229

Browse files
authored
Smooth Scroll (#15)
* added smooth scroll
1 parent 15e01aa commit 4742229

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

assets/theme-dark.html

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/sunburst.min.css">
33
<style>
44

5-
html{
6-
scroll-behavior: smooth;
7-
}
8-
95
body {
106
font-family: calibri;
117
font-size: 18px;

assets/theme-light.html

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/github-gist.min.css">
33
<style>
44

5-
html{
6-
scroll-behavior: smooth;
7-
}
8-
95
body {
106
font-family: calibri;
117
font-size: 18px;

index.html

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020

2121
<!-- Small CSS to Hide elements at 1520px size -->
2222
<style>
23+
html{
24+
scroll-behavior: smooth;
25+
}
26+
2327
@media(max-width:1520px) {
2428
.left-svg {
2529
display: none;

training.html

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.0.1/tailwind.min.css">
2121
<!-- Small CSS to Hide elements at 1520px size -->
2222
<style>
23+
html{
24+
scroll-behavior: smooth;
25+
}
26+
2327
@media(max-width:1520px) {
2428
.left-svg {
2529
display: none;

0 commit comments

Comments
 (0)