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.
 
 
 
 

291 lines
5.5 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. section.marketingheader .search {
  4. position: relative;
  5. padding: calc(0.4vw + 20px) 0 calc(1vw + 40px);
  6. min-height: calc(24vw + 220px);
  7. margin: 0;
  8. @media(max-width: 767px) {
  9. padding: calc(1.5vw + 15px) 0 0;
  10. margin-bottom: -10px;
  11. }
  12. + section, + #toclist > section:first-child {
  13. @media(min-width: 768px) {
  14. margin-top: 0;
  15. }
  16. }
  17. .container {
  18. position: relative;
  19. z-index: 1;
  20. }
  21. .row {
  22. min-height: 620px;
  23. @media(max-width: 567px) {
  24. min-height: 0;
  25. }
  26. }
  27. .artwork {
  28. @media(max-width: 420px) {
  29. top: 30px;
  30. right: -20px;
  31. }
  32. @media(max-width: 340px) {
  33. top: 40px;
  34. right: -30px;
  35. }
  36. }
  37. form {
  38. position: relative;
  39. margin: 32px 0 16px;
  40. box-shadow: 0 3px 20px -5px rgba(#000, 0.3);
  41. border-radius: var(--border-radius-md) var(--border-radius-xl) var(--border-radius-xl) var(--border-radius-md);
  42. @media(max-width: 567px) {
  43. margin-top: 20px;
  44. }
  45. }
  46. h1 {
  47. margin-left: 0;
  48. margin-top: 0;
  49. @media(max-width: 567px) {
  50. font-size: 24px;
  51. margin: 0;
  52. }
  53. }
  54. .tiles {
  55. margin: 0 -8px;
  56. display: flex;
  57. flex-wrap: wrap;
  58. font-family: "Korb", sans-serif;
  59. @media(max-width: 567px) {
  60. margin: 0 -6px;
  61. }
  62. .tile {
  63. position: relative;
  64. display: flex;
  65. padding: 8px;
  66. flex: 1 1 33.3333%;
  67. max-width: 33.3333%;
  68. &::before {
  69. position: absolute;
  70. top: 8px;
  71. right: 8px;
  72. margin: 10px 8px;
  73. font-family: Icons, sans-serif;
  74. font-size: 18px;
  75. line-height: 1;
  76. text-align: center;
  77. pointer-events: none;
  78. z-index: 1;
  79. }
  80. &[data-type="download"]::before {
  81. @include icon-small-download;
  82. }
  83. &[data-type="external"]::before {
  84. @include icon-small-link-external;
  85. }
  86. @media(max-width: 567px) {
  87. flex: 1 1 50%;
  88. max-width: 50%;
  89. padding: 6px;
  90. }
  91. &:nth-child(3) ~ .tile {
  92. z-index: 1;
  93. }
  94. &.downloads, &.a-z, &.events {
  95. order: 1;
  96. background-color: transparent;
  97. &::before {
  98. font-family: "Icons", sans-serif;
  99. position: absolute;
  100. font-size: 24px;
  101. line-height: 1;
  102. right: 0;
  103. top: 0;
  104. margin: 11px 10px;
  105. z-index: 1;
  106. background-color: white;
  107. padding: 7px 6px 5px;
  108. border-top-right-radius: 8px;
  109. border-bottom-left-radius: 8px;
  110. @media(max-width: 767px) {
  111. margin: 18px;
  112. font-size: 24px;
  113. }
  114. }
  115. .outer {
  116. background-color: var(--theme-color-primary-dimmed-04);
  117. }
  118. p {
  119. margin-bottom: 0.4em;
  120. }
  121. }
  122. &.downloads::before {
  123. @include icon-suche-datei;
  124. }
  125. &.a-z::before {
  126. @include icon-suche-az;
  127. }
  128. &.events::before {
  129. @include icon-suche-veranstaltung;
  130. }
  131. }
  132. .tile > a, .outer {
  133. position: relative;
  134. display: flex;
  135. align-items: flex-end;
  136. width: 100%;
  137. min-height: 108px;
  138. padding: 18px 24px 24px;
  139. border-radius: var(--border-radius-md);
  140. box-shadow: 0 4px 20px -5px rgba(#000, 0.25);
  141. transition: 0.25s ease;
  142. line-height: 1.2;
  143. background-color: var(--theme-color-background);
  144. overflow: hidden;
  145. @include focus-visible();
  146. @media(max-width: 767px) {
  147. font-size: 16px;
  148. padding: 10px 10px 15px;
  149. min-height: 84px;
  150. }
  151. &:before {
  152. content: "";
  153. position: absolute;
  154. display: block;
  155. bottom: 0;
  156. left: 0;
  157. right: 0;
  158. height: var(--border-width);
  159. background-color: var(--theme-color-secondary);
  160. transition: 0.25s $easeOutQuad;
  161. }
  162. &:hover {
  163. color: var(--theme-color-secondary-intensed);
  164. &:before {
  165. height: var(--border-width-hover);
  166. }
  167. }
  168. }
  169. .tile > a {
  170. .item-title {
  171. text-decoration: underline;
  172. }
  173. }
  174. .outer {
  175. background-color: var(--theme-primary-light-04);
  176. padding: 14px 20px 18px;
  177. border: 4px solid white;
  178. &::after, &::before {
  179. display: none;
  180. }
  181. }
  182. .inner {
  183. display: block;
  184. max-width: 100%;
  185. }
  186. .kicker {
  187. white-space: nowrap;
  188. text-overflow: ellipsis;
  189. overflow: hidden;
  190. max-width: 100%;
  191. display: block;
  192. text-decoration: none;
  193. }
  194. ul {
  195. list-style: none;
  196. padding: 0;
  197. font-size: 16px;
  198. max-width: 100%;
  199. margin: 0;
  200. li {
  201. margin-top: 5px;
  202. }
  203. a {
  204. display: block;
  205. white-space: nowrap;
  206. overflow: hidden;
  207. text-overflow: ellipsis;
  208. transition: 0.2s ease;
  209. font-weight: 500;
  210. &:hover {
  211. color: var(--color-secondary-dark);
  212. }
  213. }
  214. }
  215. .proposals {
  216. flex: 1 1 100%;
  217. padding: 10px 12px 0;
  218. order: 2;
  219. a {
  220. margin: 0 0.3em 0 0.1em;
  221. }
  222. p {
  223. margin-bottom: 0;
  224. }
  225. }
  226. .all-button-wrapper {
  227. padding: 16px 8px;
  228. display: block;
  229. flex: 1 1 100%;
  230. order: 3;
  231. .btn {
  232. transition: 0.2s ease;
  233. .count {
  234. margin-left: 0.3em;
  235. &::before {
  236. content: '(';
  237. }
  238. &::after {
  239. content: ')';
  240. }
  241. }
  242. }
  243. }
  244. }
  245. }