index-website-static/assets/css/partials/_site-header.scss
Julie Blanc 5914178e2f
All checks were successful
Deploy / Deploy to pre-production (push) Successful in 5s
modal share
2025-12-23 19:17:52 +01:00

98 lines
1.3 KiB
SCSS

@keyframes add-border {
from {
border-bottom-color: transparent;
}
to {
border-bottom: var(--grey-800);
}
}
#site-header {
z-index: 900;
--gap: 3ch;
width: 100vw;
height: var(--header-h);
background-color: var(--color-bg);
padding: 0 var(--padding-body);
.site-header__inner{
width: 100%;
height: 100%;
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;
svg{
width: 100px;
}
}
ul{
list-style-type: none;
display: flex;
align-items: center;
gap: var(--gap);
text-transform: uppercase;
}
#lang-toggle{
display: flex;
gap: 1ch;
button:disabled{ color: var(--color-txt-light); }
}
#menu-toggle{
cursor: pointer;
svg{
width: 30px;
}
.close{ display: none; }
}
button{
&:hover{
svg{ fill: var(--grey-200)!important; }
}
}
}
#site-header.is-visible{
position: fixed;
top: 0;
.site-header__inner{
border-bottom: var(--border-light);
}
& ~ main{
margin-top: var(--header-h);
}
}
@media #{$medium}{
#nav-highlight{
display: none;
}
}