hugo-theme-introduction/assets/vendor/bulma/sass/elements/container.sass

25 lines
549 B
Sass
Raw Normal View History

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