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/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 */ } 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 */ }