_section.scss 744 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. /* Section/Article */
  7. section, article {
  8. &.special {
  9. text-align: center;
  10. }
  11. }
  12. header {
  13. p {
  14. color: _palette(fg-light);
  15. position: relative;
  16. margin: 0 0 (_size(element-margin) * 0.75) 0;
  17. }
  18. h2 + p {
  19. font-size: 1.25em;
  20. margin-top: (_size(element-margin) * -0.5);
  21. line-height: 1.5em;
  22. }
  23. h3 + p {
  24. font-size: 1.1em;
  25. margin-top: (_size(element-margin) * -0.4);
  26. line-height: 1.5em;
  27. }
  28. h4 + p,
  29. h5 + p,
  30. h6 + p {
  31. font-size: 0.9em;
  32. margin-top: (_size(element-margin) * -0.3);
  33. line-height: 1.5em;
  34. }
  35. }