drupal/core/themes/olivero/css/layout/layout-builder-threecol-sec...

82 lines
2.1 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
* Provides the layout styles for three-column layout section.
*/
.layout--threecol-section {
display: flex;
flex-wrap: wrap
}
.layout--threecol-section > .layout__region {
flex: 1 0 100%;
margin-bottom: 18px
}
@media (min-width: 1000px) {
.layout--threecol-section > .layout__region {
flex-grow: 0;
flex-shrink: 0;
margin-bottom: 0
}
}
@media (min-width: 1000px) {
[dir="ltr"] .layout--threecol-section > .layout__region--first {
margin-right: 18px
}
[dir="rtl"] .layout--threecol-section > .layout__region--first {
margin-left: 18px
}
.layout--threecol-section > .layout__region--second {
margin-left: 18px;
margin-right: 18px;
}
[dir="ltr"] .layout--threecol-section > .layout__region--third {
margin-left: 18px
}
[dir="rtl"] .layout--threecol-section > .layout__region--third {
margin-right: 18px
}
.layout--threecol-section--25-50-25 > .layout__region--first,
.layout--threecol-section--25-50-25 > .layout__region--third {
flex-basis: calc(25% - 18px);
}
.layout--threecol-section--25-50-25 > .layout__region--second {
flex-basis: calc(50% - 36px);
}
.layout--threecol-section--25-25-50 > .layout__region--first,
.layout--threecol-section--25-25-50 > .layout__region--second {
flex-basis: calc(25% - 18px);
}
.layout--threecol-section--25-25-50 > .layout__region--third {
flex-basis: calc(50% - 36px);
}
.layout--threecol-section--50-25-25 > .layout__region--first {
flex-basis: calc(50% - 36px);
}
.layout--threecol-section--50-25-25 > .layout__region--second,
.layout--threecol-section--50-25-25 > .layout__region--third {
flex-basis: calc(25% - 18px);
}
.layout--threecol-section--33-34-33 > .layout__region--first,
.layout--threecol-section--33-34-33 > .layout__region--second,
.layout--threecol-section--33-34-33 > .layout__region--third {
flex-basis: calc(33.33% - 23.976px);
}
}