From 67300e11047409341bcba592a302f3733d77ea5b Mon Sep 17 00:00:00 2001 From: abhaykumar-0285 Date: Wed, 22 Jan 2025 21:43:27 +0530 Subject: [PATCH 1/2] updating the hovering effect on the scroll button while dark mode --- contributors/contributor.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/contributors/contributor.css b/contributors/contributor.css index 8259562..4d9dbf1 100644 --- a/contributors/contributor.css +++ b/contributors/contributor.css @@ -820,11 +820,7 @@ margin-bottom: 0.5rem; /* CSS for Scroll to Top Button */ #scrollBtn { position: fixed; - - bottom: 93px; /* Place closer to the bottom */ - - bottom: 88px; /* Place closer to the bottom */ - + bottom: 95px; /* Place closer to the bottom */ right: 30px; /* Place closer to the right */ display: none; /* Initially hidden */ background-color: #d6a52b; @@ -840,7 +836,7 @@ margin-bottom: 0.5rem; } #scrollBtn:hover { - background-color: #000; /* Change color on hover */ + background-color: #FFD700; /* Change color on hover */ transform: scale(1.2); /* Slightly enlarge */ } From ed00938b0ae4751a089520c6a4dca43a97373068 Mon Sep 17 00:00:00 2001 From: abhaykumar-0285 Date: Fri, 24 Jan 2025 18:39:42 +0530 Subject: [PATCH 2/2] updating the scroll button hovering in the main page and about page --- about.css | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/about.css b/about.css index 980188c..5045a83 100644 --- a/about.css +++ b/about.css @@ -508,7 +508,7 @@ footer li:hover { transition: all 0.3s ease; } .scroll-btn:hover { - background-color: black; + background-color: #ffd700; transform: scale(1.1); } .scroll-btn.show { diff --git a/index.html b/index.html index 9858815..f8a2b39 100644 --- a/index.html +++ b/index.html @@ -426,7 +426,7 @@ } #scrollBtn:hover { - background-color: #000; /* Change color on hover */ + background-color: #ffd700; /* Change color on hover */ transform: scale(1.2); /* Slightly enlarge */ }