mirror of
https://github.com/danog/sass-site.git
synced 2025-01-08 14:08:45 +01:00
30 lines
678 B
SCSS
30 lines
678 B
SCSS
@use '../breakpoints';
|
|
@use '../functions';
|
|
|
|
.sl-l-container {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: var(--sl-container-max-width, functions.sl-px-to-rem(1920px));
|
|
padding-left: var(--container-inline-padding, var(--sl-gutter));
|
|
padding-right: var(--container-inline-padding, var(--sl-gutter));
|
|
|
|
@include breakpoints.sl-breakpoint--small {
|
|
padding-left: var(
|
|
--container-inline-padding-large,
|
|
var(--sl-gutter--double)
|
|
);
|
|
padding-right: var(
|
|
--container-inline-padding-large,
|
|
var(--sl-gutter--double)
|
|
);
|
|
}
|
|
|
|
&--small {
|
|
max-width: functions.sl-px-to-rem(960px);
|
|
}
|
|
|
|
.sl-l-container {
|
|
padding: 0;
|
|
}
|
|
}
|