_banner.scss 810 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .banner {
  2. background: $color-dark;
  3. color: $color-white;
  4. padding: $gap-2 0;
  5. text-align: center;
  6. position: relative;
  7. @include media-breakpoint-down(lg) {
  8. padding-right: 2.5rem;
  9. }
  10. >.container {
  11. display: flex;
  12. justify-content: center;
  13. }
  14. }
  15. .banner-link {
  16. font-weight: $font-weight-medium;
  17. color: inherit;
  18. text-decoration: underline;
  19. white-space: nowrap;
  20. &:hover {
  21. text-decoration: none;
  22. color: inherit;
  23. }
  24. }
  25. .banner-close {
  26. position: absolute;
  27. cursor: pointer;
  28. top: 0;
  29. right: 0;
  30. opacity: .75;
  31. color: inherit;
  32. height: 2.5rem;
  33. width: 2.5rem;
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. bottom: 0;
  38. margin: auto;
  39. &:hover {
  40. color: inherit;
  41. opacity: 1;
  42. }
  43. .icon {
  44. width: 1.5rem;
  45. height: 1.5rem;
  46. }
  47. }