region-content-below.css

Same filename in other branches
  1. 10 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. [dir="ltr"] .region--content-below > * {
  17. margin-right: 2.25rem;
  18. }
  19. [dir="rtl"] .region--content-below > * {
  20. margin-left: 2.25rem;
  21. }
  22. .region--content-below > * {
  23. flex-basis: calc(50% - 1.125rem);
  24. flex-grow: 1;
  25. flex-shrink: 0;
  26. }
  27. [dir="ltr"] .region--content-below > *:nth-child(2n),
  28. [dir="ltr"] .region--content-below > *:last-child {
  29. margin-right: 0;
  30. }
  31. [dir="rtl"] .region--content-below > *:nth-child(2n),
  32. [dir="rtl"] .region--content-below > *:last-child {
  33. margin-left: 0;
  34. }
  35. }
  36. @media (min-width: 43.75rem) {
  37. .region--content-below > * {
  38. flex-basis: calc(33.33% - 1.50075rem);
  39. }
  40. [dir="ltr"] .region--content-below > *:nth-child(2n),
  41. [dir="ltr"] .region--content-below > *:last-child {
  42. margin-right: 2.25rem;
  43. }
  44. [dir="rtl"] .region--content-below > *:nth-child(2n),
  45. [dir="rtl"] .region--content-below > *:last-child {
  46. margin-left: 2.25rem;
  47. }
  48. [dir="ltr"] .region--content-below > *:nth-child(3n),
  49. [dir="ltr"] .region--content-below > *:last-child {
  50. margin-right: 0;
  51. }
  52. [dir="rtl"] .region--content-below > *:nth-child(3n),
  53. [dir="rtl"] .region--content-below > *:last-child {
  54. margin-left: 0;
  55. }
  56. }

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