container.sass 539 B

1234567891011121314151617181920212223
  1. $container-offset: (2 * $gap) !default
  2. .container
  3. flex-grow: 1
  4. margin: 0 auto
  5. position: relative
  6. width: auto
  7. +desktop
  8. max-width: $desktop - $container-offset
  9. &.is-fluid
  10. margin-left: $gap
  11. margin-right: $gap
  12. max-width: none
  13. +until-widescreen
  14. &.is-widescreen
  15. max-width: $widescreen - $container-offset
  16. +until-fullhd
  17. &.is-fullhd
  18. max-width: $fullhd - $container-offset
  19. +widescreen
  20. max-width: $widescreen - $container-offset
  21. +fullhd
  22. max-width: $fullhd - $container-offset