mirror of
https://github.com/danog/sass-site.git
synced 2024-12-13 18:07:35 +01:00
50 lines
921 B
SCSS
50 lines
921 B
SCSS
@use "../breakpoints";
|
|
@use "../functions";
|
|
@use "../visual-design/typography";
|
|
|
|
.sl-r-banner {
|
|
position: relative;
|
|
|
|
// add bottom padding to increase space
|
|
// above page titles (visible on mobile site)
|
|
padding-bottom: 3rem;
|
|
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
|
|
&__brand a {
|
|
border: 0;
|
|
}
|
|
|
|
img {
|
|
display: inline-block;
|
|
margin: 0;
|
|
height: functions.sl-px-to-rem(48px);
|
|
|
|
@include breakpoints.sl-breakpoint--medium {
|
|
height: functions.sl-px-to-rem(96px);
|
|
}
|
|
}
|
|
|
|
&__navigation {
|
|
font-weight: typography.$sl-font-weight--bold;
|
|
|
|
ul {
|
|
position: relative;
|
|
margin: 0 -1rem !important;
|
|
|
|
@include breakpoints.sl-breakpoint--medium {
|
|
right: -(functions.sl-px-to-rem(16px));
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
padding: functions.sl-px-to-rem(12px) functions.sl-px-to-rem(16px);
|
|
border: 0;
|
|
}
|
|
}
|
|
}
|