Skip to content

Commit

Permalink
10th--FIX INDEX_TOO_EMPTY
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueEve04 committed Oct 8, 2024
1 parent df2ab79 commit 6d59a64
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,21 @@ h1{
}
.t1{
position: relative;
top: 1000px;
top: 1200px;
left: 40%;
width: 40%;
}

.t2{
position: relative;
top: 1300px;
top: 1500px;
left: 10%;
width: 40%;

}
.t3{
position: relative;
top: 1520px;
top: 1720px;
left: 40%;
width: 40%;

Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

}
.hntt{
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif!important;
font-size: 20px;
color: rgb(123, 156, 163);
}
Expand Down Expand Up @@ -187,7 +188,7 @@
</div>

<div class="titlebox">
<h1 class="title" id="title">Complete bio-degradation of PBAT <br> via evolved hydrolases and construction of an engineered <em>Pseudomonas putida </em>KT2440 strain</h1>
<h1 class="title" id="title" style="line-height:1.1">Complete bio-degradation of PBAT <br> via evolved hydrolases and construction of an engineered <em>Pseudomonas putida </em>KT2440 strain</h1>
</div>
<script>
const title = document.getElementById('title');
Expand Down
10 changes: 5 additions & 5 deletions js/movement.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ function updateCanvasPosition(scrollPositionY) {
canChangeAnime=true;
}
if (scrollPositionY >= 2100) {
transformValue = 'translate(-28%,2100px) scale(0.3)';
transformValue = 'translate(-28%,2500px) scale(0.3)';
}
if (scrollPositionY >= 2800) {
transformValue = 'translate(20%,2590px) scale(0.5)';
if (scrollPositionY >= 3000) {
transformValue = 'translate(20%,2890px) scale(0.5)';
}
if (scrollPositionY >= 3300) {
transformValue = 'translate(-28%, 3000px) scale(0.3)';
if (scrollPositionY >= 3400) {
transformValue = 'translate(-28%, 3390px) scale(0.3)';
}

canvas_earth.style.transform = transformValue;
Expand Down

0 comments on commit 6d59a64

Please sign in to comment.