diff --git a/index.html b/index.html index 0a837f4..5024dbd 100644 --- a/index.html +++ b/index.html @@ -179,7 +179,7 @@ pre.prettyprint { } #return-to-top:hover { - background: rgba(0, 0, 0, 0.55); + background: rgba(0, 0, 0, 0.35); } #return-to-top:hover i { diff --git a/web/script_2.js b/web/script_2.js index a71a8a3..56d3ba7 100644 --- a/web/script_2.js +++ b/web/script_2.js @@ -54,7 +54,7 @@ if (!isFontAvailable('Menlo')) { // ===== Scroll to Top ==== $(window).scroll(function() { - if ($(this).scrollTop() >= 50) { // If page is scrolled more than 50px + if ($(this).scrollTop() >= 590) { // If page is scrolled more than 50px $('#return-to-top').fadeIn(200); // Fade in the arrow } else { $('#return-to-top').fadeOut(200); // Else fade out the arrow diff --git a/web/template.html b/web/template.html index f13e79c..650074a 100644 --- a/web/template.html +++ b/web/template.html @@ -179,7 +179,7 @@ pre.prettyprint { } #return-to-top:hover { - background: rgba(0, 0, 0, 0.55); + background: rgba(0, 0, 0, 0.35); } #return-to-top:hover i {