You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

149 lines
2.5 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .image-text {
  4. display: flex;
  5. justify-content: space-between;
  6. align-items: center;
  7. margin-bottom: var(--section-margin);
  8. padding: 45px 0;
  9. position: relative;
  10. z-index: 1;
  11. @media(max-width: 767px) {
  12. display: block;
  13. }
  14. h3{
  15. font-size: 28px;
  16. line-height: 120%; /* 50.4px */
  17. @media(min-width: 768px) {
  18. font-size: 36px;
  19. }
  20. @media(min-width: 1110px) {
  21. font-size: 42px;
  22. }
  23. + p {
  24. font-size: 18px;
  25. @media(min-width: 768px) {
  26. font-size: 22px;
  27. }
  28. }
  29. }
  30. &.colored {
  31. &:before {
  32. content: '';
  33. background: var(--theme-grey-light);
  34. position: absolute;
  35. left: 50%;
  36. top: 0;
  37. width: 100vw;
  38. height: 100%;
  39. margin: 0 -50vw;
  40. z-index: -1;
  41. }
  42. }
  43. &.switched {
  44. .image-text--image {
  45. order: 2;
  46. }
  47. .image-text--text {
  48. order: 1;
  49. }
  50. }
  51. @media(max-width: 767px) {
  52. display: block;
  53. }
  54. &--text,
  55. &--image {
  56. width: calc(50% - 30px);
  57. @media(max-width: 767px) {
  58. width: auto;
  59. margin-bottom: 32px;
  60. }
  61. }
  62. &--image {
  63. position: relative;
  64. &:after {
  65. content: "";
  66. position: absolute;
  67. left: 0;
  68. bottom: 0;
  69. width: 100%;
  70. display: block;
  71. height: 8px;
  72. background-color: var(--theme-color-secondary);
  73. transition: 0.3s ease;
  74. z-index: 1;
  75. border-bottom-right-radius: 4px;
  76. border-bottom-left-radius: 4px;
  77. }
  78. }
  79. h2 {
  80. margin-top: 0;
  81. font-size: 64px;
  82. line-height: 70px;
  83. @media(max-width: 399px) {
  84. font-size: 32px;
  85. line-height: 35px;
  86. margin-bottom: 0.3em;
  87. }
  88. }
  89. a {
  90. margin-top: 11px;
  91. }
  92. img {
  93. width: 100%;
  94. height: auto;
  95. display: block;
  96. border-radius: 4px;
  97. }
  98. ul, ol {
  99. margin: 1em 0 0 0;
  100. padding: 0;
  101. li {
  102. position: relative;
  103. display: block;
  104. padding-left: 32px;
  105. margin-bottom: 0.6em;
  106. @media(max-width: 767px) {
  107. padding-left: 24px;
  108. }
  109. &:after {
  110. content: "";
  111. position: absolute;
  112. left: 0;
  113. width: 8px;
  114. height: 8px;
  115. border-radius: 3px;
  116. background-color: var(--theme-color-secondary);
  117. top: 9px;
  118. @media(max-width: 767px) {
  119. top: 10px;
  120. width: 6px;
  121. height: 6px;
  122. }
  123. }
  124. }
  125. h3 {
  126. margin: 0;
  127. font-size: var(--font-size-copy);
  128. font-weight: 600;
  129. }
  130. }
  131. }