diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 3acb5b3..6e56163 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -141,6 +141,12 @@ sections site wide to the original site's background svg. flex-direction: row; justify-content: flex-start; align-items: center; + transition: background-color 0.3s ease; + + &.navbar-scrolled { + background-color: rgba(26, 63, 81, 0.95) !important; // Using the $primary color with opacity + backdrop-filter: blur(8px); + } } /* Keep existing styles for other elements */ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 944340d..40d6612 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -20,13 +20,27 @@