website/assets/sass/header.scss

86 lines
1.5 KiB
SCSS
Raw Permalink Normal View History

2022-12-10 10:37:36 +00:00
$header-height: 6.5rem;
.site-header {
background: $background;
margin-bottom: 1rem;
color: white;
height: $header-height;
}
.site-header__content {
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.site-header__nav {
a {
color: white;
text-decoration: none;
margin-right: 1.5rem;
font-size: 1.1rem;
2022-12-10 10:37:36 +00:00
}
a:hover {
opacity: 0.8;
text-decoration: underline !important;
}
a:last-of-type {
margin-right: 0;
2022-12-10 10:37:36 +00:00
}
}
.site-header__title {
height: 100%;
}
.site-header__brand {
display: flex;
justify-content: center;
align-items: center;
text-decoration: none;
}
.site-header__brand__name {
font-size: 2rem;
text-decoration: none;
padding-top: 1.5rem;
margin-left: 1rem;
@extend .alt-font;
}
.site-header__brand__logo {
display: flex;
flex-direction: column;
justify-content: center;
svg {
width: 10rem;
}
2022-12-10 10:37:36 +00:00
}
@media (max-width: $md-breakpoint) {
.site-header {
height: auto;
}
2022-12-10 10:37:36 +00:00
.site-header .page-container {
width: 100% !important;
}
.site-header__content {
display: block;
height: auto;
2023-11-01 15:50:44 +00:00
padding: 0 !important;
}
.site-header__brand {
padding-top: .5rem;
}
2022-12-10 10:37:36 +00:00
.site-header__title {
padding-right: 1rem;
}
.site-header__nav {
padding: 1rem 0;
2022-12-10 10:37:36 +00:00
line-height: 2rem;
display: flex;
justify-content: center;
2022-12-10 10:37:36 +00:00
}
}