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.
 
 
 
 

133 regels
2.2 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. &.colored {
  15. &:before {
  16. content: '';
  17. background: var(--theme-grey-light);
  18. position: absolute;
  19. left: 50%;
  20. top: 0;
  21. width: 100vw;
  22. height: 100%;
  23. margin: 0 -50vw;
  24. z-index: -1;
  25. }
  26. }
  27. &.switched {
  28. .image-text--image {
  29. order: 2;
  30. }
  31. .image-text--text {
  32. order: 1;
  33. }
  34. }
  35. @media(max-width: 767px) {
  36. display: block;
  37. }
  38. &--text,
  39. &--image {
  40. width: calc(50% - 30px);
  41. @media(max-width: 767px) {
  42. width: auto;
  43. margin-bottom: 32px;
  44. }
  45. }
  46. &--image {
  47. position: relative;
  48. &:after {
  49. content: "";
  50. position: absolute;
  51. left: 0;
  52. bottom: 0;
  53. width: 100%;
  54. display: block;
  55. height: 8px;
  56. background-color: var(--theme-color-secondary);
  57. transition: 0.3s ease;
  58. z-index: 1;
  59. border-bottom-right-radius: 4px;
  60. border-bottom-left-radius: 4px;
  61. }
  62. }
  63. h2 {
  64. margin-top: 0;
  65. font-size: 64px;
  66. line-height: 70px;
  67. @media(max-width: 399px) {
  68. font-size: 32px;
  69. line-height: 35px;
  70. margin-bottom: 0.3em;
  71. }
  72. }
  73. a {
  74. margin-top: 11px;
  75. }
  76. img {
  77. width: 100%;
  78. height: auto;
  79. display: block;
  80. border-radius: 4px;
  81. }
  82. ul, ol {
  83. margin: 1em 0 0 0;
  84. padding: 0;
  85. li {
  86. position: relative;
  87. display: block;
  88. padding-left: 32px;
  89. margin-bottom: 0.6em;
  90. @media(max-width: 767px) {
  91. padding-left: 24px;
  92. }
  93. &:after {
  94. content: "";
  95. position: absolute;
  96. left: 0;
  97. width: 8px;
  98. height: 8px;
  99. border-radius: 3px;
  100. background-color: var(--theme-color-secondary);
  101. top: 9px;
  102. @media(max-width: 767px) {
  103. top: 10px;
  104. width: 6px;
  105. height: 6px;
  106. }
  107. }
  108. }
  109. h3 {
  110. margin: 0;
  111. font-size: var(--font-size-copy);
  112. font-weight: 600;
  113. }
  114. }
  115. }