Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
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.

49 lines
751 B

7 years ago
  1. @import
  2. '../mixins/units';
  3. /**
  4. * margin
  5. *
  6. * modificators for margin
  7. *
  8. *
  9. * @author Björn Hase
  10. *
  11. */
  12. $margin-top: em(5px) !default;
  13. $margin-bottom: em(20px) !default;
  14. @mixin crispy-boilerplate-margin() {
  15. .--margin-top-y0 {
  16. margin-top: 0;
  17. }
  18. .--margin-top-y1 {
  19. margin-top: $margin-top;
  20. }
  21. .--margin-top-y2 {
  22. margin-top: $margin-top * 2;
  23. }
  24. .--margin-top-y3 {
  25. margin-top: $margin-top * 3;
  26. }
  27. .--margin-bottom-y0 {
  28. margin-bottom: 0;
  29. }
  30. .--margin-bottom-y1 {
  31. margin-bottom: $margin-bottom;
  32. }
  33. .--margin-bottom-y2 {
  34. margin-bottom: $margin-bottom * 2;
  35. }
  36. .--margin-bottom-y3 {
  37. margin-bottom: $margin-bottom * 3;
  38. }
  39. }