mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-06-02 08:43:11 +00:00
New page
This commit is contained in:
parent
5dab307513
commit
364a2558ff
61 changed files with 1309 additions and 608 deletions
86
css/_nav.scss
Normal file
86
css/_nav.scss
Normal file
|
@ -0,0 +1,86 @@
|
|||
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue