125 lines
1.8 KiB
SCSS
125 lines
1.8 KiB
SCSS
#site-header {
|
|
|
|
z-index: var(--z-header);
|
|
--gap: 3ch;
|
|
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
height: var(--header-h);
|
|
background-color: var(--color-bg);
|
|
padding: 0 var(--padding-body);
|
|
|
|
box-shadow: -1px 4px 10px 0px var(--color-bg);
|
|
|
|
.site-header__inner{
|
|
width: 100%;
|
|
height: 100%;
|
|
// border-bottom: 1px solid var(--color-bg);
|
|
// transition: border-color ease-in .5s;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--gap);
|
|
}
|
|
|
|
|
|
a{
|
|
text-decoration: none;
|
|
&:hover{
|
|
color: var(--grey-200);
|
|
}
|
|
}
|
|
|
|
|
|
#site-title {
|
|
flex-grow: 2;
|
|
// opacity: 0;
|
|
svg{
|
|
width: 100px;
|
|
@media #{$small}{
|
|
width: 80px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.header__title-page{
|
|
display: none;
|
|
flex-grow: 2;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-transform: uppercase;
|
|
font-size: var(--fs-small);
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
ul{
|
|
list-style-type: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--gap);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
|
|
#theme-toggle{
|
|
width: var(--h-block);
|
|
height: var(--h-block);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
svg{
|
|
width: 18px;
|
|
position: relative;
|
|
top: -2px;
|
|
|
|
}
|
|
}
|
|
|
|
#lang-toggle{
|
|
display: flex;
|
|
gap: 1ch;
|
|
button:disabled{ color: var(--color-txt-light); }
|
|
}
|
|
|
|
#menu-toggle{
|
|
cursor: pointer;
|
|
svg{
|
|
width: 30px;
|
|
fill: var(--color-txt);
|
|
}
|
|
.close{ display: none; }
|
|
|
|
}
|
|
|
|
button{
|
|
|
|
&:hover{
|
|
svg{ fill: var(--grey-200)!important; }
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#site-header.is-visible{
|
|
// .site-header__inner{
|
|
// border-color: var(--grey-800);
|
|
// }
|
|
}
|
|
|
|
|
|
@media #{$medium}{
|
|
#nav-highlight{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|