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

70 lines
1.5 KiB
CSS
Raw Normal View History

/*
* 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.4985rem)
}
[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
}
}