diff --git a/source/_static/scss/includes/_nav.scss b/source/_static/scss/includes/_nav.scss index eef247a5..2038f561 100644 --- a/source/_static/scss/includes/_nav.scss +++ b/source/_static/scss/includes/_nav.scss @@ -18,15 +18,6 @@ position: relative; } -.nav__link--active { - & > span { - &:before { - opacity: 1; - transform: translateY(0); - } - } -} - .nav__link--download { border: 1px solid var(--nav-download-border-color); transition: background-color 300ms, color 300ms; @@ -180,6 +171,15 @@ transition: opacity 300ms, transform 300ms; } } + + &.nav__link--active { + & > span { + &:before { + opacity: 1; + transform: translateY(0); + } + } + } &:not(.nav__link--dropdown) { &:hover {