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.
 
 
 
 

110 regels
2.0 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. h2 {
  12. margin-bottom: 0.4em;
  13. &:first-child {
  14. margin-top: var(--section-headline-margin);
  15. }
  16. }
  17. .kicker {
  18. margin-top: var(--section-headline-margin);
  19. }
  20. p {
  21. font-size: var(--font-size-small);
  22. }
  23. + .topics, + .feature, + .events {
  24. margin-top: 0;
  25. }
  26. .row {
  27. min-height: calc(120px + 6vw);
  28. flex-wrap: nowrap;
  29. align-items: center;
  30. @media(max-width: 567px) {
  31. flex-direction: column;
  32. .col {
  33. flex: 1 1 0;
  34. }
  35. }
  36. }
  37. a {
  38. color: white;
  39. }
  40. .col:nth-child(2) {
  41. @media(max-width: 567px) {
  42. width: 50%;
  43. min-width: 220px;
  44. max-width: 360px;
  45. }
  46. @media(min-width: 568px) {
  47. max-width: 44%;
  48. min-width: 44%;
  49. flex: 1 1 44%;
  50. }
  51. @media(min-width: 1000px) {
  52. max-width: 33.3333%;
  53. min-width: 33.3333%;
  54. flex: 1 1 33.3333%;
  55. }
  56. }
  57. .text-box {
  58. padding-right: 20px;
  59. margin: calc(var(--col-padding) * -1) 0;
  60. }
  61. .icon-box {
  62. position: relative;
  63. display: block;
  64. border-radius: 40%;
  65. overflow: hidden;
  66. font-family: 'Pictograms', sans-serif;
  67. &:after {
  68. content: "";
  69. position: relative;
  70. display: block;
  71. padding-top: 100%;
  72. background-color: white;
  73. }
  74. &:before {
  75. position: absolute;
  76. display: block;
  77. z-index: 1;
  78. top: 50%;
  79. left: 50%;
  80. font-size: 200px;
  81. line-height: 1;
  82. transform: translate(-50%, -50%);
  83. color: var(--theme-color-secondary);
  84. @media(max-width: 767px) {
  85. font-size: 140px;
  86. }
  87. }
  88. }
  89. .linklist {
  90. margin-bottom: 0;
  91. }
  92. }