Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

130 righe
2.5 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .feature {
  4. --theme-color-link: var(--theme-color-white);
  5. --theme-color-link-hover: var(--theme-color-secondary);
  6. color: var(--theme-color-white);
  7. background-color: var(--theme-color-primary);
  8. padding: var(--section-padding) 0;
  9. border-bottom: var(--border-width) solid var(--theme-color-secondary);
  10. margin: var(--section-margin) auto;
  11. position: relative;
  12. &:after {
  13. content: "";
  14. background: var(--theme-color-primary);
  15. border-bottom: var(--border-width) solid var(--theme-color-secondary);
  16. position: absolute;
  17. left: 50%;
  18. top: 0;
  19. width: calc(100vw - var(--scrollbar-width));
  20. height: calc(100% + var(--border-width));
  21. margin: 0 calc(-50vw + 7px);
  22. z-index: -1;
  23. }
  24. .has-sidebar & {
  25. padding: var(--section-padding);
  26. &:after {
  27. display: none;
  28. }
  29. }
  30. h2 {
  31. margin-bottom: 0.4em;
  32. &:first-child {
  33. margin-top: var(--section-headline-margin);
  34. }
  35. }
  36. .kicker {
  37. margin-top: var(--section-headline-margin);
  38. }
  39. p {
  40. font-size: var(--font-size-small);
  41. }
  42. + .topics, + .feature, + .events {
  43. margin-top: 0;
  44. }
  45. .row {
  46. min-height: calc(120px + 6vw);
  47. flex-wrap: nowrap;
  48. align-items: center;
  49. @media(max-width: 567px) {
  50. flex-direction: column;
  51. .col {
  52. flex: 1 1 0;
  53. }
  54. }
  55. }
  56. a {
  57. color: white;
  58. }
  59. .col:nth-child(2) {
  60. @media(max-width: 567px) {
  61. width: 50%;
  62. min-width: 220px;
  63. max-width: 360px;
  64. }
  65. @media(min-width: 568px) {
  66. max-width: 44%;
  67. min-width: 44%;
  68. flex: 1 1 44%;
  69. }
  70. @media(min-width: 1000px) {
  71. max-width: 33.3333%;
  72. min-width: 33.3333%;
  73. flex: 1 1 33.3333%;
  74. }
  75. }
  76. .text-box {
  77. padding-right: 20px;
  78. margin: calc(var(--col-padding) * -1) 0;
  79. }
  80. .icon-box {
  81. position: relative;
  82. display: block;
  83. border-radius: 40%;
  84. overflow: hidden;
  85. font-family: 'Pictograms', sans-serif;
  86. &:after {
  87. content: "";
  88. position: relative;
  89. display: block;
  90. padding-top: 100%;
  91. background-color: white;
  92. }
  93. &:before {
  94. position: absolute;
  95. display: block;
  96. z-index: 1;
  97. top: 50%;
  98. left: 50%;
  99. font-size: 200px;
  100. line-height: 1;
  101. transform: translate(-50%, -50%);
  102. color: var(--theme-color-secondary);
  103. @media(max-width: 767px) {
  104. font-size: 140px;
  105. }
  106. }
  107. }
  108. .linklist {
  109. margin-bottom: 0;
  110. }
  111. }