mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-01-14 18:25:17 +00:00
87 lines
1.2 KiB
SCSS
87 lines
1.2 KiB
SCSS
nav {
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
}
|
|
|
|
.nav-item {
|
|
margin: 0;
|
|
padding: 0.5rem;
|
|
|
|
width: 100%;
|
|
height: 3rem;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background-color: $black;
|
|
|
|
border: none;
|
|
|
|
user-select: none;
|
|
|
|
&:hover {
|
|
background-color: $black-darker;
|
|
}
|
|
|
|
p,
|
|
a {
|
|
margin: auto;
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
font-family: $font-body;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
font-stretch: semi-expanded;
|
|
|
|
color: $white;
|
|
|
|
transition: all 0.2s cubic-bezier(0.86, 0, 0.07, 1);
|
|
}
|
|
|
|
&:nth-child(1) {
|
|
border-radius: 0.5rem 0 0 0;
|
|
}
|
|
&:nth-child(4) {
|
|
border-radius: 0 0.5rem 0 0;
|
|
}
|
|
}
|
|
|
|
.nav-item_selected {
|
|
background-color: $black-est;
|
|
}
|
|
|
|
#nav-item_underline {
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
width: 25%;
|
|
height: 0.3rem;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
left: 0;
|
|
|
|
background-color: $green;
|
|
|
|
transition: left 0.2s cubic-bezier(0.86, 0, 0.07, 1),
|
|
width 0.2s cubic-bezier(0.86, 0, 0.07, 1);
|
|
}
|