Skip to content

Commit

Permalink
topTitleHolder position
Browse files Browse the repository at this point in the history
  • Loading branch information
ModelEarth committed Jan 23, 2024
1 parent ce88c2b commit a35b421
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//param.headerFile = "header.html"
param.footer = "/localsite/footer.html"
*/

//$(document).ready(function () {
$(window).scroll(function(){let toZero = 1-$(window).scrollTop()/200; $(".herocenter").css("opacity", toZero); if (toZero <= 0) {$(".herocenter").hide()} else {$(".herocenter").show();}});
//});
Expand Down Expand Up @@ -99,8 +99,7 @@
<!-- logo centered -->
<div class="herocenter" style="position: absolute; z-index:2; top:37%;">

<div id="topTitleHolder" class="fade-in text-flowX" style="position:fixed; left:0px; right:0px;
text-align:center; margin-top:140px; padding-left: 20px; padding-right: 20px; color:#fff; font-size:24px; text-shadow: 2px 2px 8px #333;">
<div id="topTitleHolder" class="fade-in text-flowX" style="position:fixed; text-align:center; margin-top:140px; padding-left: 20px; padding-right: 20px; color:#fff; font-size:24px; text-shadow: 2px 2px 8px #333;">
<span style="font-weight:800; opacity:1">ModelEarth</span> Community&nbsp;Data

<!--
Expand Down

0 comments on commit a35b421

Please sign in to comment.