mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:59:45 +00:00
50 lines
1.0 KiB
SCSS
Executable File
50 lines
1.0 KiB
SCSS
Executable File
@import "../../assets/styles/theme.scss";
|
|
|
|
#navbar {
|
|
position: fixed;
|
|
top: 0;
|
|
width: 80%;
|
|
height: $navbar-height;
|
|
padding: $navbar-padding-tb 10%;
|
|
background-color: $bg-secondary;
|
|
z-index: 10;
|
|
transition: height .3s ease-out, background-color .3s ease-out;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.nav-link:has(> .logo) {
|
|
height: 100%;
|
|
|
|
.logo {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.bar {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.nav-link {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 20px;
|
|
letter-spacing: 0em;
|
|
padding: .25em;
|
|
margin-left: 40px;
|
|
color: $text-secondary;
|
|
text-decoration: none;
|
|
text-wrap: nowrap;
|
|
}
|
|
|
|
.nav-link::after {
|
|
background: $text-secondary;
|
|
}
|
|
}
|
|
}
|
|
|
|
#navbar.transparent{
|
|
background-color: transparent;
|
|
} |