76 lines
1.3 KiB
CSS
76 lines
1.3 KiB
CSS
nav {
|
|
backdrop-filter: blur(10px);
|
|
background: var(--color-bg-nav);
|
|
border-bottom: 1px solid var(--color-border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.75rem 1.5rem;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.brand {
|
|
font-weight: 700;
|
|
font-size: 1.1rem;
|
|
user-select: none;
|
|
width: fit-content;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
.brand img {
|
|
width: auto;
|
|
height: 2rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
gap: 1.25rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.links a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-text);
|
|
font-weight: 500;
|
|
position: relative;
|
|
}
|
|
|
|
a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -6px;
|
|
left: 0;
|
|
width: 0%;
|
|
height: 2px;
|
|
background: var(--color-accent);
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
button {
|
|
background: none;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 5px;
|
|
padding: 0.4rem 0.6rem;
|
|
color: var(--color-text);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
border-color: var(--color-accent);
|
|
color: var(--color-accent);
|
|
} |