Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

248 строки
5.4 KiB

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