region-content-below.css

Same filename in other branches
  1. 9 core/themes/olivero/css/layout/region-content-below.css
  2. 11.x core/themes/olivero/css/layout/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. @media (min-width: 43.75rem) {
  12. .region--content-below {
  13. display: flex;
  14. flex-wrap: wrap;
  15. }
  16. .region--content-below > * {
  17. flex-basis: calc(50% - (var(--grid-gap) / 2));
  18. flex-grow: 1;
  19. flex-shrink: 0;
  20. margin-inline-end: var(--grid-gap);
  21. }
  22. .region--content-below > *:nth-child(2n),
  23. .region--content-below > *:last-child {
  24. margin-inline-end: 0;
  25. }
  26. }
  27. @media (min-width: 43.75rem) {
  28. .region--content-below > * {
  29. flex-basis: calc(33.33% - (var(--grid-gap) * 0.667));
  30. }
  31. .region--content-below > *:nth-child(2n),
  32. .region--content-below > *:last-child {
  33. margin-inline-end: var(--grid-gap);
  34. }
  35. .region--content-below > *:nth-child(3n),
  36. .region--content-below > *:last-child {
  37. margin-inline-end: 0;
  38. }
  39. }

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