Add breakpoint containers

This commit is contained in:
Jeremy Thomas
2017-07-21 11:22:08 +02:00
parent 39a09d204a
commit 06a392072b
14 changed files with 234 additions and 139 deletions

View File

@@ -2,22 +2,29 @@
+block
.container
margin: 0 auto
max-width: $desktop - (2 * $gap)
position: relative
+desktop
margin: 0 auto
max-width: $desktop - 40px
width: $desktop - 40px
// Modifiers
&.is-fluid
margin: 0 20px
max-width: none
width: $desktop - (2 * $gap)
&.is-fluid
margin-left: $gap
margin-right: $gap
max-width: none
width: auto
+until($widescreen)
&.is-widescreen
max-width: $widescreen - (2 * $gap)
width: auto
+until($fullhd)
&.is-fullhd
max-width: $fullhd - (2 * $gap)
width: auto
+widescreen
max-width: $widescreen - 40px
width: $widescreen - 40px
max-width: $widescreen - (2 * $gap)
width: $widescreen - (2 * $gap)
+fullhd
max-width: $fullhd - 40px
width: $fullhd - 40px
max-width: $fullhd - (2 * $gap)
width: $fullhd - (2 * $gap)
.delete
+delete