region-content-below.css
Same filename in other branches
Content below region layout.
File
-
core/
themes/ olivero/ css/ layout/ region-content-below.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Content below region layout.
- */
-
- @media (min-width: 43.75rem) {
-
- .region--content-below {
- display: flex;
- flex-wrap: wrap;
- }
-
- [dir="ltr"] .region--content-below > * {
- margin-right: 2.25rem;
- }
-
- [dir="rtl"] .region--content-below > * {
- margin-left: 2.25rem;
- }
-
- .region--content-below > * {
- flex-basis: calc(50% - 1.125rem);
- flex-grow: 1;
- flex-shrink: 0;
- }
-
- [dir="ltr"] .region--content-below > *:nth-child(2n),
- [dir="ltr"] .region--content-below > *:last-child {
- margin-right: 0;
- }
-
- [dir="rtl"] .region--content-below > *:nth-child(2n),
- [dir="rtl"] .region--content-below > *:last-child {
- margin-left: 0;
- }
- }
-
- @media (min-width: 43.75rem) {
- .region--content-below > * {
- flex-basis: calc(33.33% - 1.50075rem);
- }
-
- [dir="ltr"] .region--content-below > *:nth-child(2n),
- [dir="ltr"] .region--content-below > *:last-child {
- margin-right: 2.25rem;
- }
-
- [dir="rtl"] .region--content-below > *:nth-child(2n),
- [dir="rtl"] .region--content-below > *:last-child {
- margin-left: 2.25rem;
- }
-
- [dir="ltr"] .region--content-below > *:nth-child(3n),
- [dir="ltr"] .region--content-below > *:last-child {
- margin-right: 0;
- }
-
- [dir="rtl"] .region--content-below > *:nth-child(3n),
- [dir="rtl"] .region--content-below > *:last-child {
- margin-left: 0;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.