You are here

region-content-below.css in Drupal 10

Same filename and directory in other branches
  1. 9 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. /*
  12. * Media query breakpoints.
  13. * Processed by postcss/postcss-custom-media.
  14. */
  15. /* Navigation related breakpoints */
  16. /* Grid related breakpoints */
  17. /* Grid shifts from 6 to 14 columns. */
  18. /* Width of the entire grid maxes out. */
  19. @media (min-width: 43.75rem) {
  20. .region--content-below {
  21. display: flex;
  22. flex-wrap: wrap
  23. }
  24. [dir="ltr"] .region--content-below > * {
  25. margin-right: var(--grid-gap)
  26. }
  27. [dir="rtl"] .region--content-below > * {
  28. margin-left: var(--grid-gap)
  29. }
  30. .region--content-below > * {
  31. flex-basis: calc(50% - (var(--grid-gap) / 2));
  32. flex-grow: 1;
  33. flex-shrink: 0
  34. }
  35. [dir="ltr"] .region--content-below > *:nth-child(2n),[dir="ltr"]
  36. .region--content-below > *:last-child {
  37. margin-right: 0
  38. }
  39. [dir="rtl"] .region--content-below > *:nth-child(2n),[dir="rtl"]
  40. .region--content-below > *:last-child {
  41. margin-left: 0
  42. }
  43. }
  44. @media (min-width: 43.75rem) {
  45. .region--content-below > * {
  46. flex-basis: calc(33.33% - (var(--grid-gap) * 0.667))
  47. }
  48. [dir="ltr"] .region--content-below > *:nth-child(2n),[dir="ltr"]
  49. .region--content-below > *:last-child {
  50. margin-right: var(--grid-gap)
  51. }
  52. [dir="rtl"] .region--content-below > *:nth-child(2n),[dir="rtl"]
  53. .region--content-below > *:last-child {
  54. margin-left: var(--grid-gap)
  55. }
  56. [dir="ltr"] .region--content-below > *:nth-child(3n),[dir="ltr"]
  57. .region--content-below > *:last-child {
  58. margin-right: 0
  59. }
  60. [dir="rtl"] .region--content-below > *:nth-child(3n),[dir="rtl"]
  61. .region--content-below > *:last-child {
  62. margin-left: 0
  63. }
  64. }