refactor(style): improve nav item hover
): title
This commit is contained in:
parent
e0f42f600c
commit
c98f6ecf62
@ -129,19 +129,17 @@ nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 300px;
|
||||
border-bottom-width: 2px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-color: var(--sumiInk3);
|
||||
border-right-style: solid;
|
||||
border-right-color: var(--sumiInk3);
|
||||
border-bottom-width: 4px;
|
||||
border-style: solid;
|
||||
border-top-style: none;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-left-style: solid;
|
||||
border-left-color: var(--sumiInk3);
|
||||
border-bottom-left-radius: 10px;
|
||||
/* Set the navbar to have highest priority so it shows above all other elements */
|
||||
z-index: 1000;
|
||||
border-color: var(--sumiInk3);
|
||||
}
|
||||
|
||||
|
||||
.nav-item:first-child {
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
@ -172,9 +170,9 @@ nav a:visited:hover {
|
||||
}
|
||||
|
||||
.nav-item:hover {
|
||||
color: var(--fujiWhite);
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user