sass-site/source/assets/sass/regions/_banner.scss

50 lines
925 B
SCSS
Raw Normal View History

2023-01-12 20:54:24 +01:00
@use '../breakpoints';
@use '../functions';
@use '../visual-design/typography';
2023-01-12 19:19:42 +01:00
2023-01-06 22:40:29 +01:00
.sl-r-banner {
position: relative;
// add bottom padding to increase space
// above page titles (visible on mobile site)
2023-01-31 07:13:57 +01:00
padding-bottom: var(--gutter-triple);
2023-01-06 22:40:29 +01:00
a {
display: inline-block;
}
&__brand a {
border: 0;
}
img {
display: inline-block;
margin: 0;
2023-01-12 19:19:42 +01:00
height: functions.sl-px-to-rem(48px);
2023-01-06 22:40:29 +01:00
2023-01-12 19:19:42 +01:00
@include breakpoints.sl-breakpoint--medium {
height: functions.sl-px-to-rem(96px);
2023-01-09 20:10:02 +01:00
}
2023-01-06 22:40:29 +01:00
}
&__navigation {
2023-01-12 19:19:42 +01:00
font-weight: typography.$sl-font-weight--bold;
2023-01-06 22:40:29 +01:00
ul {
position: relative;
2023-01-31 07:13:57 +01:00
margin: 0 calc(var(--gutter) * -1) !important;
2023-01-06 22:40:29 +01:00
2023-01-12 19:19:42 +01:00
@include breakpoints.sl-breakpoint--medium {
2023-01-31 07:13:57 +01:00
right: calc(var(--gutter) * -1);
2023-01-06 22:40:29 +01:00
margin: 0 !important;
}
}
a {
display: block;
2023-01-31 07:13:57 +01:00
padding: var(--gutter-minus) var(--gutter);
2023-01-06 22:40:29 +01:00
border: 0;
}
}
}