bulma/sass/elements/container.sass

26 lines
590 B
Sass
Raw Normal View History

2017-08-01 20:05:10 +00:00
.container
margin: 0 auto
position: relative
2018-04-08 19:11:48 +00:00
+desktop
2017-08-01 20:05:10 +00:00
max-width: $desktop - (2 * $gap)
width: $desktop - (2 * $gap)
&.is-fluid
margin-left: $gap
margin-right: $gap
max-width: none
width: auto
2018-04-08 19:11:48 +00:00
+until-widescreen
2017-08-01 20:05:10 +00:00
&.is-widescreen
max-width: $widescreen - (2 * $gap)
width: auto
2018-04-08 19:11:48 +00:00
+until-fullhd
2017-08-01 20:05:10 +00:00
&.is-fullhd
max-width: $fullhd - (2 * $gap)
width: auto
2018-04-08 19:11:48 +00:00
+widescreen
2017-08-01 20:05:10 +00:00
max-width: $widescreen - (2 * $gap)
width: $widescreen - (2 * $gap)
2018-04-08 19:11:48 +00:00
+fullhd
2017-08-01 20:05:10 +00:00
max-width: $fullhd - (2 * $gap)
2018-04-08 19:11:48 +00:00
width: $fullhd - (2 * $gap)