style(navigation): implement new navigation-bar
This commit is contained in:
@@ -15,6 +15,35 @@ nav {
|
||||
border-color: var(--surface-500);
|
||||
}
|
||||
}
|
||||
|
||||
.navigation ul li a {
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
position: relative;
|
||||
color: color-mix(in srgb, var(--content-color) 80%, transparent);
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
|
||||
&.active {
|
||||
color: var(--primary-500);
|
||||
position: relative;
|
||||
top: -3px;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: calc(50% - 1px);
|
||||
transform: translate(-50%);
|
||||
width: 50%;
|
||||
height: .1px;
|
||||
background: var(--primary-500);
|
||||
border-radius: 50%;
|
||||
bottom: 2px;
|
||||
box-shadow: 0 -3px 10px 1px var(--primary-500);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.blur {
|
||||
|
||||
Reference in New Issue
Block a user