Skip to content

Commit

Permalink
optimized Nav-menu
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAndi authored Dec 5, 2023
1 parent 350d0e5 commit 48f42e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cascade.css
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,12 @@ header p {
color: var(--primary-color-medium);
}

.nav li:last-child:is(:hover,:active,:focus,:target,:focus-visible,:focus-within) {
border: solid 1px rgba(var(--focus-color-rgb),0.6)!important;
box-shadow: 0.25em 0em 0.5em rgba(0,0,0,0.8) ,inset 0 1px 3px hsla(var(--border-color-low-hsl),.01),0 0px 8px rgba(var(--focus-color-rgb),0.6);
border-radius: 0.35em;
}

.nav > .dropdown:is(:hover,:active,:focus,:target,:focus-visible,:focus-within) > .dropdown-menu {
background: rgba(48,48,48,0.8);
backdrop-filter: blur(2.5px);
Expand Down

0 comments on commit 48f42e6

Please sign in to comment.