_masthead.scss 587 B

123456789101112131415161718192021222324252627282930313233
  1. .masthead {
  2. position: relative;
  3. background-color: $gray-800;
  4. background: url('../img/bg-masthead.jpg') no-repeat center center;
  5. @include background-cover;
  6. padding-top: 2rem;
  7. padding-bottom: 2rem;
  8. .overlay {
  9. position: absolute;
  10. background-color: $gray-900;
  11. height: 100%;
  12. width: 100%;
  13. top: 0;
  14. left: 0;
  15. opacity: 0.3;
  16. }
  17. h1 {
  18. font-size: 3rem;
  19. }
  20. h2 {
  21. font-size: 1.5rem;
  22. }
  23. @media (min-width: 768px) {
  24. padding-top: 6rem;
  25. padding-bottom: 6rem;
  26. h1 {
  27. font-size: 4rem;
  28. }
  29. h2 {
  30. font-size: 2rem;
  31. }
  32. }
  33. }