You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
177 lines
2.8 KiB
177 lines
2.8 KiB
.banner { |
|
.container { |
|
height: 560px; |
|
max-width: 1440px; |
|
} |
|
|
|
.toggle-menu { |
|
top: 30px; |
|
right: 17px; |
|
width: 25px; |
|
height: 20px; |
|
z-index: 99; |
|
text-indent: -9999em; |
|
|
|
.icon { |
|
top: 7px; |
|
width: 25px; |
|
height: 3px; |
|
background: var(--link, $brand-primary); |
|
|
|
&::before, |
|
&::after { |
|
width: 25px; |
|
height: 3px; |
|
content: ''; |
|
background: var(--link, $brand-primary); |
|
} |
|
|
|
&::before { |
|
position: absolute; |
|
top: -7px; |
|
right: 0; |
|
} |
|
|
|
&::after { |
|
position: absolute; |
|
top: 7px; |
|
right: 0; |
|
} |
|
} |
|
|
|
&.is-active .icon { |
|
// TODO |
|
background: var(--fg, $white); |
|
|
|
&::before, |
|
&::after { |
|
background: var(--fg, $white); |
|
} |
|
} |
|
} |
|
|
|
.brand { |
|
width: 6.5625rem; |
|
height: auto; |
|
margin: 30px 0 0 17px; |
|
|
|
svg, |
|
img { |
|
width: auto; |
|
max-width: 100%; |
|
height: auto; |
|
} |
|
} |
|
|
|
.primary-navigation { |
|
height: 560px; |
|
margin: 0 0 0 -100%; |
|
padding: 0 17px; |
|
|
|
a { |
|
display: none; |
|
font-family: $font-family-sans-serif; |
|
font-size: rem(24); |
|
line-height: (80/24); |
|
color: var(--fg, $white); |
|
letter-spacing: 0; |
|
} |
|
|
|
.sep { |
|
display: none; |
|
} |
|
|
|
&.is-visible { |
|
margin: 0; |
|
padding: 0 52px; |
|
z-index: 1; |
|
background: var(--bg, $brand-primary); |
|
|
|
a { |
|
display: block; |
|
width: 100%; |
|
border-bottom: solid 1px var(--fg, $white); |
|
|
|
&:last-child { |
|
border-bottom: 0; |
|
} |
|
} |
|
} |
|
} |
|
|
|
.branding { |
|
height: 364px; |
|
|
|
p { |
|
font-family: $font-family-sans-serif; |
|
} |
|
} |
|
} |
|
|
|
.page:not(.home) .banner .branding { |
|
display: none; |
|
} |
|
|
|
@media #{$breakpoint-large} { |
|
.banner { |
|
.container { |
|
height: 880px; |
|
margin: 0 auto; |
|
} |
|
|
|
.brand { |
|
width: 16.5625rem; |
|
height: auto; |
|
margin-top: 40px; |
|
} |
|
|
|
.primary-navigation { |
|
top: 40px; |
|
height: 40px; |
|
max-width: 1440px; |
|
margin: 0 auto; |
|
|
|
a { |
|
display: inline-block; |
|
font-size: rem(18); |
|
color: var(--header-text, $black); |
|
line-height: normal; |
|
|
|
&:hover, |
|
&:focus { |
|
color: var(--header-link, $brand-primary); |
|
} |
|
|
|
&:nth-child(1) { |
|
margin-right: auto; |
|
} |
|
|
|
&:nth-child(2) { |
|
margin: 0 1em 0 auto; |
|
} |
|
} |
|
|
|
.sep { |
|
display: inline-block; |
|
margin: 0 0.5em; |
|
} |
|
} |
|
|
|
.branding { |
|
height: 576px; |
|
|
|
p { |
|
font-size: rem(30); |
|
letter-spacing: 0.75px; |
|
line-height: (40/30); |
|
} |
|
} |
|
|
|
h1 { |
|
margin-bottom: rem(32); |
|
font-size: rem(72); |
|
line-height: (40/72); |
|
letter-spacing: rem(1.8); |
|
} |
|
} |
|
}
|
|
|