summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalmonik <raisersoft@proton.me>2025-09-22 17:12:33 +0200
committersalmonik <raisersoft@proton.me>2025-09-22 17:12:33 +0200
commit55f6824258eb2177b1b0ce32a22cc6dcda45bfbf (patch)
tree9485c096a196f1265e40f93d2e50a55f9c81a5de
parentadded GPG key (diff)
downloadsite-55f6824258eb2177b1b0ce32a22cc6dcda45bfbf.tar.gz
site-55f6824258eb2177b1b0ce32a22cc6dcda45bfbf.zip
smooth scrolling when going to divs
-rw-r--r--styles.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/styles.css b/styles.css
index c6fbe92..8a9dccd 100644
--- a/styles.css
+++ b/styles.css
@@ -16,6 +16,11 @@
16} 16}
17 17
18/* Base background and cursor light effect */ 18/* Base background and cursor light effect */
19html {
20 scroll-behavior: smooth;
21 scroll-padding-top: 80px; /* Adjust this value based on your header height */
22}
23
19html, body { 24html, body {
20 min-height: 100%; 25 min-height: 100%;
21 margin: 0; 26 margin: 0;