_box.scss 532 B

1234567891011121314151617181920212223242526
  1. ///
  2. /// Hyperspace by HTML5 UP
  3. /// html5up.net | @ajlkn
  4. /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
  5. ///
  6. /* Box */
  7. .box {
  8. border-radius: _size(border-radius);
  9. border: solid _size(border-width) _palette(border);
  10. margin-bottom: _size(element-margin);
  11. padding: 1.5em;
  12. > :last-child,
  13. > :last-child > :last-child,
  14. > :last-child > :last-child > :last-child {
  15. margin-bottom: 0;
  16. }
  17. &.alt {
  18. border: 0;
  19. border-radius: 0;
  20. padding: 0;
  21. }
  22. }