mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
63 lines
1.1 KiB
SCSS
63 lines
1.1 KiB
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: var(--sl-gutter--triple);
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
&.sl-r-banner-playground {
|
|
padding-bottom: 0;
|
|
|
|
img {
|
|
height: functions.sl-px-to-rem(48px);
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
&__navigation {
|
|
font-weight: typography.$sl-font-weight--bold;
|
|
|
|
ul {
|
|
position: relative;
|
|
margin: 0 var(--sl-gutter--negative) !important;
|
|
|
|
@include breakpoints.sl-breakpoint--medium {
|
|
right: var(--sl-gutter--negative);
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
padding: var(--sl-gutter--minus) var(--sl-gutter);
|
|
border: 0;
|
|
}
|
|
}
|
|
}
|