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.
 
 
 
 

181 line
3.3 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. @use '../../components/contact/contact' as *;
  4. .election-detail {
  5. margin: 0 0 80px 0;
  6. &--text {
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: flex-start;
  10. background: var(--color-background);
  11. padding: 0 0 30px 0;
  12. @media (max-width: 1100px) {
  13. display: block;
  14. }
  15. img {
  16. display: block;
  17. width: 545px;
  18. margin: 0 40px 0 0;
  19. @media (max-width: 1100px) {
  20. width: 100%;
  21. }
  22. }
  23. .election-detail--image-container {
  24. position: relative;
  25. margin: 0 40px 0 0;
  26. img {
  27. margin: 0;
  28. }
  29. .copyright {
  30. @include copyright;
  31. }
  32. }
  33. .text-box {
  34. flex: 1;
  35. padding-right: 1.5rem;
  36. @media (max-width: 1100px) {
  37. padding-left: 15px;
  38. padding-right: 15px;
  39. }
  40. }
  41. h1 {
  42. margin: 1.5rem 0;
  43. }
  44. h2 {
  45. margin: 0 0 0.75rem 0;
  46. font-size: 36px;
  47. line-height: 42px;
  48. }
  49. p {
  50. margin: 0 0 1.5rem 0;
  51. &.subheadline {
  52. margin: -1rem 0 1.5rem 0;
  53. font-weight: 600;
  54. }
  55. }
  56. .social-media {
  57. p {
  58. font-size: 1rem;
  59. text-transform: uppercase;
  60. margin: 0 0 0.5rem 0;
  61. }
  62. .social-icons {
  63. a {
  64. &:before {
  65. color: var(--color-text);
  66. }
  67. &:hover:before {
  68. color: var(--color-decoration);
  69. }
  70. }
  71. }
  72. }
  73. }
  74. &--video {
  75. padding: 30px 0;
  76. background: var(--color-background);
  77. @media (max-width: 1100px) {
  78. background: none;
  79. }
  80. .video-container {
  81. margin: 0 auto;
  82. max-width: 976px;
  83. @media (max-width: 1100px) {
  84. width: 100%;
  85. max-width: none;
  86. }
  87. .video {
  88. margin: 0;
  89. }
  90. }
  91. }
  92. &--info {
  93. display: flex;
  94. justify-content: space-between;
  95. background: var(--color-background);
  96. color: var(--color-text);
  97. @media (max-width: 1023px) {
  98. display: block;
  99. background: none;
  100. }
  101. .info-box {
  102. flex: 1;
  103. padding: 30px 20px;
  104. display: flex;
  105. flex-direction: column;
  106. justify-content: space-between;
  107. @media (max-width: 1023px) {
  108. background: var(--color-background);
  109. margin: 0 0 5px 0;
  110. }
  111. }
  112. .info-headline {
  113. @include kicker;
  114. }
  115. .info-box--content {
  116. p {
  117. font-size: 18px;
  118. line-height: 27px;
  119. margin: 0 0 5px 0;
  120. &.headline {
  121. font-weight: 600;
  122. margin: 0;
  123. }
  124. }
  125. .address {
  126. .text {
  127. margin: inherit;
  128. font-size: 18px;
  129. }
  130. }
  131. }
  132. .info-box--text {
  133. cursor: pointer;
  134. //color: var(--swatches-neutrals-white);
  135. &:hover {
  136. //color: var(--theme-color-secondary);
  137. }
  138. font-size: 36px;
  139. line-height: 44px;
  140. margin: 0;
  141. font-family: 'Korb', sans-serif;
  142. @media (max-width: 767px) {
  143. font-size: 24px;
  144. line-height: 29px;
  145. }
  146. }
  147. }
  148. &--back {
  149. background: var(--color-background);
  150. display: flex;
  151. justify-content: center;
  152. padding: 30px 15px;
  153. margin: 20px 0 0 0;
  154. }
  155. &--more {
  156. margin: 60px 0 0 0 !important;
  157. max-width: none !important;
  158. h3, .like-h3 {
  159. margin-left: 0;
  160. margin-right: 0;
  161. }
  162. }
  163. }