SCSS Framework (Beta)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
663 B

8 months ago
  1. *, :before, :after {
  2. box-sizing: border-box;
  3. }
  4. html {
  5. height: 100vh;
  6. }
  7. body {
  8. @include layout(column);
  9. flex-wrap: nowrap;
  10. font-size: 16px;
  11. line-height: 1.8rem;
  12. height: 100vh;
  13. }
  14. .section {
  15. flex: 0 0 auto;
  16. & > .container {
  17. margin: 0 auto;
  18. width: 100%;
  19. @include breakpoint('screen', 'xs') { max-width: 100vw; }
  20. @include breakpoint('screen', 's') { max-width: 100vw; }
  21. @include breakpoint('screen', 'm') { max-width: 95vw; }
  22. @include breakpoint('screen', 'l') { max-width: 90vw; }
  23. @include breakpoint('screen', 'xl') { max-width: rem(1400); }
  24. @include breakpoint('screen', 'xxl') { max-width: rem(1600); }
  25. }
  26. }