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

141 строка
2.5 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. .topic-teaser, .topics .tile {
  4. --topic-tile-padding: 24px;
  5. position: relative;
  6. display: flex;
  7. flex-direction: column;
  8. background-color: var(--color-background);
  9. overflow: hidden;
  10. width: 100%;
  11. //max-width: 420px;
  12. border-radius: var(--border-radius-lg);
  13. padding: var(--topic-tile-padding);
  14. transition: 0.25s ease;
  15. line-height: 1.2;
  16. text-align: center;
  17. text-decoration: none;
  18. @media(max-width: 999px) {
  19. --topic-tile-padding: 14px;
  20. }
  21. @media(max-width: 767px) {
  22. font-size: 16px;
  23. min-height: 84px;
  24. border-radius: 8px;
  25. }
  26. .icon-box {
  27. font-family: 'Pictograms', sans-serif;
  28. font-size: 72px;
  29. line-height: 1;
  30. color: var(--color-decoration);
  31. margin-top: 6px;
  32. &--lottie {
  33. width: 72px;
  34. height: 72px;
  35. margin-left: auto;
  36. margin-right: auto;
  37. color: var(--color-decoration);
  38. svg path {
  39. stroke: currentColor;
  40. }
  41. }
  42. @media(max-width: 567px) {
  43. font-size: 50px;
  44. margin-top: 0;
  45. &--lottie {
  46. width: 50px;
  47. height: 50px;
  48. }
  49. }
  50. }
  51. }
  52. .col {
  53. .topic-teaser, .topics .tile {
  54. max-width: none;
  55. }
  56. }
  57. a.topic-teaser, .topics:not([data-type="list"]) a.tile {
  58. @include focus-visible();
  59. &:before {
  60. content: "";
  61. position: absolute;
  62. display: block;
  63. bottom: 0;
  64. left: 0;
  65. right: 0;
  66. height: var(--border-width);
  67. background-color: var(--color-decoration);
  68. transition: 0.2s ease;
  69. }
  70. &:hover:before {
  71. height: var(--border-width-hover);
  72. }
  73. .title {
  74. text-decoration: underline;
  75. margin: 12px 0;
  76. @media(max-width: 999px) {
  77. margin: 8px 0;
  78. }
  79. @media(max-width: 567px) {
  80. margin: 4px 0;
  81. }
  82. }
  83. .text-box {
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. flex-grow: 1;
  88. }
  89. }
  90. div.topic-teaser, .topics[data-type="list"] .tile {
  91. padding: 0 var(--topic-tile-padding) 0.5em;
  92. .icon-box {
  93. background-color: var(--color-text);
  94. color: var(--color-background);
  95. margin: 0 calc(var(--topic-tile-padding) * -1);
  96. padding: 10px 0;
  97. font-size: 60px;
  98. &--lottie {
  99. width: 60px;
  100. height: 60px;
  101. }
  102. @media(max-width: 767px) {
  103. font-size: 46px;
  104. &--lottie {
  105. width: 46px;
  106. height: 46px;
  107. }
  108. }
  109. }
  110. .text-box {
  111. display: block;
  112. text-align: left;
  113. }
  114. .title {
  115. text-decoration: none;
  116. margin: 0.8em 0;
  117. }
  118. }