mirror of
https://github.com/Nezumi-2711/loi-phan-internship.git
synced 2026-09-22 20:01:33 +00:00
77 lines
1.1 KiB
SCSS
77 lines
1.1 KiB
SCSS
.nav-list {
|
|
list-style: none;
|
|
transition: 0.1s;
|
|
position: fixed;
|
|
border: 2px solid $primary-color;
|
|
top: 0;
|
|
right: -300px;
|
|
width: auto;
|
|
height: auto;
|
|
margin-top: 105px;
|
|
margin-right: 10px;
|
|
margin-left: 10px;
|
|
z-index: 2;
|
|
background-color: $white;
|
|
}
|
|
|
|
.nav-download-btn {
|
|
display: none;
|
|
}
|
|
|
|
.nav-item {
|
|
font-size: $fs-xx-sm;
|
|
padding: 14px;
|
|
border-bottom: 1px solid $black;
|
|
|
|
&:last-child {
|
|
border-bottom: unset;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $secondary-color;
|
|
}
|
|
}
|
|
|
|
.nav-link {
|
|
text-decoration: none;
|
|
color: $black;
|
|
}
|
|
|
|
@media screen and (min-width: 840px) {
|
|
.nav {
|
|
margin: auto;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.nav-download-btn {
|
|
display: block;
|
|
|
|
&:hover {
|
|
background-color: $secondary-color;
|
|
}
|
|
}
|
|
|
|
.nav-list {
|
|
position: unset;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border: none;
|
|
margin: auto;
|
|
max-width: 600px;
|
|
}
|
|
|
|
.nav-item {
|
|
border-bottom: none;
|
|
padding: 0;
|
|
|
|
&:hover {
|
|
background-color: unset;
|
|
}
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: $secondary-color;
|
|
}
|
|
}
|