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.
 
 
 

195 lines
3.9 KiB

  1. .teaser-large {
  2. position: relative;
  3. margin: 5rem 0 7.5rem 0;
  4. background-color: $secondary;
  5. border-radius: 30px;
  6. color: $white;
  7. @media (max-width: 575px) {
  8. margin-top: 7rem;
  9. }
  10. &.bg-nav-teaser {
  11. background-image: url("../images/backgrounds/category-navigation.jpg");
  12. background-repeat: no-repeat;
  13. background-position: 0 0;
  14. background-size: cover;
  15. }
  16. .ce_image {
  17. position: absolute;
  18. left: 34px;
  19. top: 50%;
  20. transform: translate(0, -50%);
  21. padding: 0;
  22. @media (max-width: 768px) {
  23. left: 0;
  24. margin-top: -45px;
  25. }
  26. @media (max-width: 575px) {
  27. position: relative;
  28. left: auto;
  29. top: auto;
  30. transform: translate(0,-50px);
  31. }
  32. .image_container {
  33. position: relative;
  34. width: 298px;
  35. height: 298px;
  36. background: transparent url("../images/elements/highlight-star.svg") no-repeat left top;
  37. background-size: 100% auto;
  38. @media (max-width: 768px) {
  39. width: 198px;
  40. height: 198px;
  41. }
  42. @media (max-width: 575px) {
  43. width: 298px;
  44. height: 298px;
  45. }
  46. }
  47. img {
  48. position: absolute;
  49. left: 50%;
  50. top: 50%;
  51. transform: translate(-50%, -50%);
  52. width: 230px;
  53. @media (max-width: 768px) {
  54. width: 130px;
  55. }
  56. @media (max-width: 575px) {
  57. width: 230px;
  58. }
  59. }
  60. }
  61. .ce_text {
  62. padding: 25px 20px 12px 330px;
  63. @media (max-width: 768px) {
  64. padding-left: 210px;
  65. }
  66. @media (max-width: 575px) {
  67. padding-top: 0;
  68. padding-left: 20px;
  69. }
  70. h3 {
  71. padding: 0 0 5px 0;
  72. font-size: size(34);
  73. line-height: size(40);
  74. @media (max-width: 575px) {
  75. font-size: size(28);
  76. line-height: size(34);
  77. }
  78. @media (max-width: 575px) {
  79. font-size: size(34);
  80. line-height: size(40);
  81. }
  82. }
  83. .text {
  84. }
  85. p {
  86. padding: 0;
  87. margin: 0;
  88. font-size: size(28);
  89. line-height: size(34);
  90. @media (max-width: 768px) {
  91. font-size: size(20);
  92. line-height: size(28);
  93. }
  94. @media (max-width: 575px) {
  95. font-size: size(28);
  96. line-height: size(34);
  97. }
  98. }
  99. }
  100. .ce_hyperlink {
  101. padding: 8px 36px 27px 330px;
  102. display: flex;
  103. justify-content: flex-end;
  104. a {
  105. @include button();
  106. padding: 10px 24px;
  107. border-radius: 25px;
  108. font-size: size(22);
  109. line-height: size(26);
  110. }
  111. }
  112. .mod_navigation {
  113. ul {
  114. display: flex;
  115. justify-content: space-evenly;
  116. padding: 0 0 0 304px;
  117. background: $secondary;
  118. border-bottom-left-radius: 30px;
  119. border-bottom-right-radius: 30px;
  120. @media (max-width: 768px) {
  121. padding-left: 0;
  122. }
  123. @media (max-width: 575px) {
  124. display: block;
  125. padding-left: 0;
  126. }
  127. }
  128. li {
  129. flex-grow: 1;
  130. flex-basis: 0;
  131. &:first-child {
  132. a, strong {
  133. @media (min-width: 576px) and (max-width: 768px) {
  134. border-bottom-left-radius: 30px;
  135. }
  136. }
  137. }
  138. &:last-child {
  139. a, strong {
  140. color: $white;
  141. background: $font;
  142. border-bottom-right-radius: 30px;
  143. @media (max-width: 575px) {
  144. border-bottom-left-radius: 30px;
  145. }
  146. &:hover {
  147. color: rgba(255, 255, 255, .3);
  148. }
  149. }
  150. }
  151. }
  152. a, strong {
  153. display: block;
  154. padding: 9px 0 2px 0;
  155. color: $font;
  156. font-family: 'Mohave', sans-serif;
  157. font-weight: 700;
  158. text-align: center;
  159. text-transform: uppercase;
  160. font-size: size(54);
  161. line-height: size(64);
  162. text-decoration: none;
  163. @include transition();
  164. @media (max-width: 1004px) {
  165. font-size: size(28);
  166. line-height: size(34);
  167. }
  168. @media (max-width: 575px) {
  169. font-size: size(54);
  170. line-height: size(68);
  171. }
  172. &:hover {
  173. color: $white;
  174. }
  175. }
  176. }
  177. }