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.
 
 
 
 

66 regels
1.1 KiB

  1. section.topics {
  2. background-color: var(--theme-color-primary-dimmed-04);
  3. padding: var(--section-padding) 0;
  4. margin: var(--section-margin) auto;
  5. .container > h2,
  6. .container > .like-h2 {
  7. margin-top: var(--section-headline-margin);
  8. }
  9. + .events, + .topics {
  10. margin-top: 8px;
  11. }
  12. .row {
  13. margin: calc(var(--col-padding) * -1);
  14. }
  15. @media(max-width: 767px) {
  16. .row {
  17. margin: 0 -7px;
  18. }
  19. }
  20. .title {
  21. font-weight: 400;
  22. }
  23. .col {
  24. position: relative;
  25. display: flex;
  26. flex: 1 1 33.3333%;
  27. max-width: 33.3333%;
  28. &.width-half {
  29. flex: 1 1 50%;
  30. max-width: 50%;
  31. &:first-child:last-child {
  32. flex: 1 1 100%;
  33. max-width: 100%;
  34. }
  35. }
  36. @media(max-width: 567px) {
  37. flex: 1 1 50%;
  38. max-width: 50%;
  39. &:nth-child(odd):last-child {
  40. flex: 1 1 100%;
  41. max-width: 100%;
  42. }
  43. }
  44. @media(max-width: 767px) {
  45. padding: 6px;
  46. }
  47. }
  48. &[data-type='list'] .col {
  49. @media(max-width: 567px) {
  50. max-width: 100%;
  51. flex: 1 1 100%;
  52. }
  53. }
  54. }