60 lines
993 B
CSS
60 lines
993 B
CSS
.navbar {
|
|
background-color: var(--primary);
|
|
height: 4rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 1.2rem;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 999;
|
|
}
|
|
|
|
.navbar-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 4rem;
|
|
max-width: 1080px;
|
|
}
|
|
|
|
.navbar-logo {
|
|
color: var(--secondary);
|
|
justify-self: start;
|
|
margin-left: 1.5em;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
font-size: 2rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, auto);
|
|
grid-gap: 1rem;
|
|
list-style: none;
|
|
text-align: center;
|
|
width: 60vw;
|
|
justify-content: end;
|
|
margin-right: 2rem;
|
|
}
|
|
|
|
.nav-item {
|
|
height: 4rem;
|
|
}
|
|
|
|
.nav-links {
|
|
color: var(--secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
padding: 0.1rem 0.2rem;
|
|
height: 100%;
|
|
}
|
|
|
|
.nav-links:hover {
|
|
border-bottom: 0.2em dotted var(--secondary);
|
|
transition: all 0.2s none;
|
|
}
|