Layout.scss 629 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * React Static Boilerplate
  3. * https://github.com/koistya/react-static-boilerplate
  4. * Copyright (c) Konstantin Tarkus (@koistya) | MIT license
  5. */
  6. @import '../variables.scss';
  7. html, body {
  8. margin: 0;
  9. padding: 0;
  10. background-color: $body-bg;
  11. color: $text-color;
  12. font-family: $font-family-base;
  13. }
  14. .Layout {
  15. margin: 0 auto;
  16. }
  17. @media (min-width: $screen-sm-min) {
  18. .Layout {
  19. width: calc($screen-sm-min - 18px);
  20. }
  21. }
  22. @media (min-width: $screen-md-min) {
  23. .Layout {
  24. width: calc($screen-md-min - 22px);
  25. }
  26. }
  27. @media (min-width: $screen-lg-min) {
  28. .Layout {
  29. width: calc($screen-lg-min - 30px);
  30. }
  31. }