commit
This commit is contained in:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user