drupal/core/themes/olivero/css/layout/layout-builder-fourcol-sect...

102 lines
2.3 KiB
CSS

/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/*
* @file
* Provides the layout styles for four-column layout section.
*/
.layout--fourcol-section {
display: flex;
flex-wrap: wrap
}
.layout--fourcol-section > .layout__region {
flex: 1 0 100%;
margin-bottom: 18px
}
@media (min-width: 700px) {
.layout--fourcol-section > .layout__region {
flex-basis: calc(50% - 18px);
flex-grow: 0;
flex-shrink: 0;
margin-bottom: 0
}
}
.layout--fourcol-section {
/* Two column layout. */
}
@media (min-width: 700px) {
.layout--fourcol-section > .layout__region--first,
.layout--fourcol-section > .layout__region--second {
margin-bottom: 36px;
}
[dir="ltr"] .layout--fourcol-section > .layout__region--first,[dir="ltr"]
.layout--fourcol-section > .layout__region--third {
margin-right: 18px
}
[dir="rtl"] .layout--fourcol-section > .layout__region--first,[dir="rtl"]
.layout--fourcol-section > .layout__region--third {
margin-left: 18px
}
[dir="ltr"] .layout--fourcol-section > .layout__region--second,[dir="ltr"]
.layout--fourcol-section > .layout__region--fourth {
margin-left: 18px
}
[dir="rtl"] .layout--fourcol-section > .layout__region--second,[dir="rtl"]
.layout--fourcol-section > .layout__region--fourth {
margin-right: 18px
}
}
.layout--fourcol-section {
/* Four column layout. */
}
@media (min-width: 1000px) {
.layout--fourcol-section > .layout__region {
flex-basis: calc(25% - 27px);
}
.layout--fourcol-section > .layout__region--first,
.layout--fourcol-section > .layout__region--second {
margin-bottom: 0;
}
[dir="ltr"] .layout--fourcol-section > .layout__region--first {
margin-right: 18px
}
[dir="rtl"] .layout--fourcol-section > .layout__region--first {
margin-left: 18px
}
.layout--fourcol-section > .layout__region--second,
.layout--fourcol-section > .layout__region--third {
margin-left: 18px;
margin-right: 18px;
}
[dir="ltr"] .layout--fourcol-section > .layout__region--fourth {
margin-left: 18px
}
[dir="rtl"] .layout--fourcol-section > .layout__region--fourth {
margin-right: 18px
}
}