Skip to content

Commit

Permalink
Cosmetic tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrme committed Jul 14, 2024
1 parent 5e67eec commit 0de8d66
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ body {
}
}

.section {
h2.sticky {
opacity: 0.2;
}
}

.progress {
border-color: white;
background: black;
Expand Down Expand Up @@ -315,7 +321,7 @@ span.hu {
position: sticky;
top: 2rem;
transform: scale(10);
opacity: 0.2;
opacity: 0.15;

&.active {
transition: none;
Expand Down
3 changes: 3 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ ready(() => {

// set vh property to the true viewport height to fix it on mobile browsers
document.documentElement.style.setProperty('--vh', `${window.innerHeight * 0.01}px`)

// is the browser based on firefox
const isFirefox = navigator.userAgent.indexOf("Firefox") > -1

// DISABLE RIGHT CLICK
/*
Expand Down

0 comments on commit 0de8d66

Please sign in to comment.