From 54495e29ae07a6297e48be712204d2bb31ad503a Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Fri, 15 Dec 2023 22:56:36 +0530 Subject: [PATCH] (feat): added smooth page scrolling --- htdocs/assets/style.css | 4 ++++ htdocs/blog.php | 2 +- htdocs/contact.php | 2 +- htdocs/dmca.php | 2 +- htdocs/home.php | 2 +- htdocs/policy.php | 2 +- htdocs/projects.php | 2 +- htdocs/terms.php | 2 +- 8 files changed, 11 insertions(+), 7 deletions(-) diff --git a/htdocs/assets/style.css b/htdocs/assets/style.css index ca3ca0b..e0294cf 100644 --- a/htdocs/assets/style.css +++ b/htdocs/assets/style.css @@ -1241,6 +1241,10 @@ video { overflow-y: scroll; } +.scroll-smooth { + scroll-behavior: smooth; +} + .whitespace-nowrap { white-space: nowrap; } diff --git a/htdocs/blog.php b/htdocs/blog.php index 5de71d7..fbe1651 100644 --- a/htdocs/blog.php +++ b/htdocs/blog.php @@ -9,7 +9,7 @@ require 'core/query_functions.php'; ?> - + diff --git a/htdocs/contact.php b/htdocs/contact.php index ecee9f7..4109b18 100644 --- a/htdocs/contact.php +++ b/htdocs/contact.php @@ -9,7 +9,7 @@ require 'core/query_functions.php'; ?> - + diff --git a/htdocs/dmca.php b/htdocs/dmca.php index 1e3e623..292453e 100644 --- a/htdocs/dmca.php +++ b/htdocs/dmca.php @@ -9,7 +9,7 @@ require 'core/query_functions.php'; ?> - + diff --git a/htdocs/home.php b/htdocs/home.php index bad2e7e..26b5d03 100644 --- a/htdocs/home.php +++ b/htdocs/home.php @@ -9,7 +9,7 @@ require 'core/query_functions.php'; ?> - + diff --git a/htdocs/policy.php b/htdocs/policy.php index 39a75df..e4f4201 100644 --- a/htdocs/policy.php +++ b/htdocs/policy.php @@ -9,7 +9,7 @@ require 'core/query_functions.php'; ?> - + diff --git a/htdocs/projects.php b/htdocs/projects.php index 3923b0e..aee7e16 100644 --- a/htdocs/projects.php +++ b/htdocs/projects.php @@ -11,7 +11,7 @@ $years = create_project_years_array($conn); ?> - + diff --git a/htdocs/terms.php b/htdocs/terms.php index bd4e8dc..33907b5 100644 --- a/htdocs/terms.php +++ b/htdocs/terms.php @@ -9,7 +9,7 @@ require 'core/query_functions.php'; ?> - +