Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

235 linhas
5.0 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .tile-grid {
  4. margin: var(--section-margin) auto;
  5. h2 {
  6. margin-bottom: 0.2em;
  7. }
  8. @media(max-width: 567px) {
  9. max-width: 340px;
  10. }
  11. @media(min-width: 768px) and (max-width: 999px) {
  12. max-width: 88%;
  13. padding: 0 15px;
  14. }
  15. .row {
  16. margin: 0 -5px;
  17. }
  18. .col {
  19. flex: 1 1 100%;
  20. max-width: 25%;
  21. padding: 5px;
  22. margin-bottom: 200px;
  23. @media(max-width: 1000px) {
  24. max-width: 50%;
  25. }
  26. @media(max-width: 567px) {
  27. max-width: 100%;
  28. margin-bottom: 100px;
  29. }
  30. &:nth-child(odd) {
  31. .tile .tile-outer {
  32. background-color: var(--theme-color-secondary-dimmed);
  33. color: var(--theme-color-secondary-intensed);
  34. }
  35. .tile-head-outer {
  36. background-color: var(--theme-color-secondary-intensed);
  37. }
  38. }
  39. }
  40. .tile-head {
  41. position: sticky;
  42. display: block;
  43. top: 100px;
  44. padding: 20px 0 10px;
  45. z-index: 1;
  46. background-color: #fff;
  47. @media(max-width: 767px) {
  48. top: 75px;
  49. }
  50. .like-h4 {
  51. min-height: 3.6em;
  52. margin: 5px 0;
  53. max-width: 10em;
  54. }
  55. }
  56. .tile-head-outer {
  57. position: relative;
  58. display: block;
  59. color: white;
  60. background-color: var(--theme-color-primary);
  61. transition: 0.2s ease;
  62. border-top-right-radius: 30px;
  63. border-top-left-radius: 30px;
  64. padding: 5% 16% 5% 7%;
  65. text-decoration-color: rgba(white, 0);
  66. @include focus-visible;
  67. }
  68. .tile {
  69. padding: 0 0 10px;
  70. &:last-child {
  71. margin-bottom: -200px;
  72. @media(max-width: 567px) {
  73. margin-bottom: -100px;
  74. }
  75. }
  76. .tile-outer {
  77. position: relative;
  78. display: block;
  79. background-color: var(--theme-color-primary-dimmed-04);
  80. transition: 0.2s ease;
  81. @include focus-visible;
  82. &.focus-visible, &:focus {
  83. z-index: 1;
  84. }
  85. &::before {
  86. content: '';
  87. display: block;
  88. padding-top: 60%;
  89. background-color: #fff;
  90. opacity: 0;
  91. transition: 0.2s ease;
  92. @media(max-width: 767px) {
  93. padding-top: 55%;
  94. }
  95. }
  96. &:hover::before {
  97. opacity: 0.6;
  98. }
  99. }
  100. span {
  101. display: block;
  102. }
  103. .number {
  104. font-size: var(--font-size-h1);
  105. line-height: 1;
  106. font-weight: 700;
  107. font-family: 'Korb', sans-serif;
  108. margin-left: -0.04em;
  109. @media(max-width: 1200px) {
  110. font-size: 56px;
  111. }
  112. @media(max-width: 999px) {
  113. font-size: 62px;
  114. }
  115. small {
  116. font-size: 0.6em;
  117. margin-left: 0.2em;
  118. }
  119. }
  120. .icon {
  121. @include full-size;
  122. text-align: right;
  123. img {
  124. width: auto;
  125. height: 100%;
  126. float: right;
  127. }
  128. &.dynamic-icon {
  129. width: 100%;
  130. height: 100%;
  131. overflow: hidden;
  132. &:before {
  133. display: block;
  134. height: 100%;
  135. width: 100%;
  136. position: absolute;
  137. right: -8px;
  138. top: 0;
  139. font-family: "Pictograms", sans-serif;
  140. color: var(--theme-color-white);
  141. font-size: calc(var(--icon-height, 1em) + 14px);
  142. line-height: 1;
  143. }
  144. }
  145. }
  146. p {
  147. @include full-size;
  148. margin: 0;
  149. padding: 6% 16% 6.5% 7%;
  150. display: flex;
  151. flex-direction: column;
  152. justify-content: space-between;
  153. line-height: 1.2;
  154. @media(max-width: 1200px) and (min-width: 1000px) {
  155. font-size: 17px;
  156. margin-bottom: 1%;
  157. }
  158. }
  159. }
  160. .tile-head-outer, .tile a {
  161. &::after {
  162. @include icon-small-arrow-right-simple;
  163. font-family: 'Icons', sans-serif;
  164. position: absolute;
  165. bottom: 0;
  166. right: 0;
  167. margin: 7% 5%;
  168. font-size: var(--icon-size);
  169. line-height: 1;
  170. transition: 0.2s ease;
  171. @media(max-width: 1200px) and (min-width: 1000px) {
  172. font-size: 24px;
  173. }
  174. }
  175. &:hover::after {
  176. transform: translateX(20%);
  177. }
  178. }
  179. // So dass die bilder ins target kopiert werden
  180. /*
  181. .fake-class-for-images{
  182. background-image: url('../../../img/kacheln/tile-01.svg');
  183. background-image: url('../../../img/kacheln/tile-02.svg');
  184. background-image: url('../../../img/kacheln/tile-03.svg');
  185. background-image: url('../../../img/kacheln/tile-04.svg');
  186. background-image: url('../../../img/kacheln/tile-05.svg');
  187. background-image: url('../../../img/kacheln/tile-06.svg');
  188. background-image: url('../../../img/kacheln/tile-07.svg');
  189. background-image: url('../../../img/kacheln/tile-08.svg');
  190. background-image: url('../../../img/kacheln/tile-09.svg');
  191. background-image: url('../../../img/kacheln/tile-10.svg');
  192. background-image: url('../../../img/kacheln/tile-11.svg');
  193. background-image: url('../../../img/kacheln/tile-12.svg');
  194. background-image: url('../../../img/kacheln/tile-13.svg');
  195. background-image: url('../../../img/kacheln/tile-14.svg');
  196. background-image: url('../../../img/kacheln/tile-15.svg');
  197. background-image: url('../../../img/kacheln/tile-16.svg');
  198. }
  199. */
  200. }