2020-08-06 01:34:59 +00:00
|
|
|
$container-offset: (2 * $gap) !default
|
|
|
|
|
2018-07-10 07:23:19 +00:00
|
|
|
.container
|
2020-08-06 01:34:59 +00:00
|
|
|
flex-grow: 1
|
2018-07-10 07:23:19 +00:00
|
|
|
margin: 0 auto
|
|
|
|
position: relative
|
2020-08-06 01:34:59 +00:00
|
|
|
width: auto
|
|
|
|
&.is-fluid
|
|
|
|
max-width: none
|
|
|
|
padding-left: $gap
|
|
|
|
padding-right: $gap
|
|
|
|
width: 100%
|
2018-07-10 07:23:19 +00:00
|
|
|
+desktop
|
2020-08-06 01:34:59 +00:00
|
|
|
max-width: $desktop - $container-offset
|
2018-07-10 07:23:19 +00:00
|
|
|
+until-widescreen
|
|
|
|
&.is-widescreen
|
2020-08-06 01:34:59 +00:00
|
|
|
max-width: $widescreen - $container-offset
|
2018-07-10 07:23:19 +00:00
|
|
|
+until-fullhd
|
|
|
|
&.is-fullhd
|
2020-08-06 01:34:59 +00:00
|
|
|
max-width: $fullhd - $container-offset
|
2018-07-10 07:23:19 +00:00
|
|
|
+widescreen
|
2020-08-06 01:34:59 +00:00
|
|
|
max-width: $widescreen - $container-offset
|
2018-07-10 07:23:19 +00:00
|
|
|
+fullhd
|
2020-08-06 01:34:59 +00:00
|
|
|
max-width: $fullhd - $container-offset
|