region-content-below.css

Content below region layout.

File

core/themes/olivero/css/layout/region-content-below.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Content below region layout.
  10. */
  11. .region--content-below {
  12. @media (min-width: 43.75rem) {
  13. display: flex;
  14. flex-wrap: wrap;
  15. & > * {
  16. flex-basis: calc(50% - (var(--grid-gap) / 2));
  17. flex-grow: 1;
  18. flex-shrink: 0;
  19. margin-inline-end: var(--grid-gap);
  20. &:nth-child(2n),
  21. &:last-child {
  22. margin-inline-end: 0;
  23. }
  24. }
  25. }
  26. @media (min-width: 43.75rem) {
  27. & > * {
  28. flex-basis: calc(33.33% - (var(--grid-gap) * 0.667));
  29. &:nth-child(2n),
  30. &:last-child {
  31. margin-inline-end: var(--grid-gap);
  32. }
  33. &:nth-child(3n),
  34. &:last-child {
  35. margin-inline-end: 0;
  36. }
  37. }
  38. }
  39. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.