Skip to content

Commit

Permalink
Work on unimplemented fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrme committed Jul 1, 2024
1 parent 8efdbc3 commit 368e9c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ span.hu {
top: 2rem;
transform: scale(10);
opacity: 0.2;

&.active {
transition: 0.15s linear transform;
}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ ready(() => {
// FIXED NAV
// handles attaching nav to screen when scrolled far enough
if (scrollpos > 200) { // after the nav is no longer visible
if (!nav.classList.contains('scrolled')) nav.classList.add('scrolled');
nav.classList.add('scrolled');
} else {
if (nav.classList.contains('scrolled')) nav.classList.remove("scrolled");
nav.classList.remove("scrolled");
}

sectionActions(checkpointContainer)
Expand Down

0 comments on commit 368e9c9

Please sign in to comment.