_hero.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // Hero
  3. //
  4. .hero {
  5. text-align: center;
  6. padding: 6.5rem 0;
  7. }
  8. .hero-title {
  9. font-size: 3rem;
  10. font-weight: var(--#{$prefix}font-weight-black);
  11. letter-spacing: $spacing-tight;
  12. line-height: $headings-line-height;
  13. @include media-breakpoint-down(md) {
  14. font-size: 2rem;
  15. }
  16. }
  17. .hero-description {
  18. color: var(--#{$prefix}muted);
  19. font-size: var(--#{$prefix}font-size-h2);
  20. line-height: 1.5;
  21. margin: 0 auto;
  22. max-width: 45rem;
  23. @include media-breakpoint-down(sm) {
  24. font-size: var(--#{$prefix}font-size-h3);
  25. }
  26. }
  27. .hero-description-wide {
  28. max-width: 61.875rem;
  29. }
  30. //
  31. // Hero subheader
  32. //
  33. .hero-subheader {
  34. @include subheader;
  35. margin-bottom: 0.5rem;
  36. }
  37. .hero-img {
  38. margin: 4rem auto;
  39. max-width: 65rem;
  40. border-radius: $border-radius-lg;
  41. position: relative;
  42. z-index: 1;
  43. //box-shadow: 0 10px 15px -3px rgba($color-text, 0.1),
  44. // 0 4px 6px -2px rgba($color-text, 0.05);
  45. img,
  46. svg {
  47. max-width: 100%;
  48. height: auto;
  49. display: block;
  50. position: relative;
  51. }
  52. }
  53. //
  54. //.hero-img-side {
  55. // img,
  56. // svg {
  57. // max-width: 100%;
  58. // height: auto;
  59. // display: block;
  60. // }
  61. //}