mirror of
https://github.com/jgthms/bulma.git
synced 2024-12-12 13:28:30 +00:00
25 lines
549 B
Sass
25 lines
549 B
Sass
$container-offset: (2 * $gap) !default
|
|
|
|
.container
|
|
flex-grow: 1
|
|
margin: 0 auto
|
|
position: relative
|
|
width: auto
|
|
&.is-fluid
|
|
max-width: none
|
|
padding-left: $gap
|
|
padding-right: $gap
|
|
width: 100%
|
|
+desktop
|
|
max-width: $desktop - $container-offset
|
|
+until-widescreen
|
|
&.is-widescreen
|
|
max-width: $widescreen - $container-offset
|
|
+until-fullhd
|
|
&.is-fullhd
|
|
max-width: $fullhd - $container-offset
|
|
+widescreen
|
|
max-width: $widescreen - $container-offset
|
|
+fullhd
|
|
max-width: $fullhd - $container-offset
|