refactor(style): improve nav item hover

): title
This commit is contained in:
Price Hiller 2024-07-26 11:21:44 -05:00
parent e0f42f600c
commit c98f6ecf62
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -129,19 +129,17 @@ nav {
position: fixed; position: fixed;
top: 0; top: 0;
width: 300px; width: 300px;
border-bottom-width: 2px; border-bottom-width: 4px;
border-bottom-style: solid; border-style: solid;
border-bottom-color: var(--sumiInk3); border-top-style: none;
border-right-style: solid;
border-right-color: var(--sumiInk3);
border-bottom-right-radius: 10px; border-bottom-right-radius: 10px;
border-left-style: solid;
border-left-color: var(--sumiInk3);
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
/* Set the navbar to have highest priority so it shows above all other elements */ /* Set the navbar to have highest priority so it shows above all other elements */
z-index: 1000; z-index: 1000;
border-color: var(--sumiInk3);
} }
.nav-item:first-child { .nav-item:first-child {
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;
} }
@ -172,9 +170,9 @@ nav a:visited:hover {
} }
.nav-item:hover { .nav-item:hover {
color: var(--fujiWhite);
transition-duration: 0.3s; transition-duration: 0.3s;
background-color: color-mix(in srgb, var(--navbar-bg-color) 40%, transparent); letter-spacing: +.05em;
color: var(--roninYellow);
} }
.nav-item a { .nav-item a {