Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

150 строки
2.5 KiB

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