This commit is contained in:
2023-06-25 17:13:08 +02:00
parent c928a407cc
commit de92db4584
+3 -1
View File
@@ -22,6 +22,8 @@
<link rel="stylesheet" href="{{ theme_url }}/css/contrailone.css" type="text/css" />
<style>
#navbar { --bs-bg-opacity: 0 }
.nav-link { font-family: 'Roboto'; font-size: 16px; }
.nav-link { position: relative; display: inline-block; }
@@ -189,7 +191,7 @@
function menuOpacity() {
const navbar = document.getElementById("navbar");
if (window.scrollY > 100) {
if (window.scrollY > 200) {
navbar.style.setProperty('--bs-bg-opacity', 1);
}
else {