diff --git a/static/css/styles.css b/static/css/styles.css index 133d1f2..130c628 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -97,17 +97,33 @@ body::after { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); - border: 1px solid rgba(255, 255, 255, 0.08); + border: 2px solid rgba(255, 255, 255, 0.08); border-radius: 16px; - transition: border 0.3s ease; + transition: all 0.6s ease; + position: relative; +} + +.navbar-inner::before { + content: ''; + position: absolute; + inset: -2px; + border-radius: 16px; + padding: 2px; + background: linear-gradient(90deg, #3b82f6, #8b5cf6); + -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); + -webkit-mask-composite: xor; + mask-composite: exclude; + opacity: 0; + transition: opacity 0.6s ease; + pointer-events: none; +} + +.navbar-inner:hover::before { + opacity: 1; } .navbar-inner:hover { - border: 1px solid transparent; - background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), - linear-gradient(90deg, #3b82f6, #8b5cf6); - background-origin: border-box; - background-clip: padding-box, border-box; + border-color: transparent; } .navbar-logo {