drupal/core/themes/olivero/css/layout/layout-builder-twocol-secti...

139 lines
3.7 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 two-column layout section.
*/
.layout--twocol-section {
display: flex;
flex-wrap: wrap
}
.layout--twocol-section > .layout__region {
flex: 1 0 100%;
margin-bottom: 18px
}
@media (min-width: 700px) {
.layout--twocol-section > .layout__region {
flex-grow: 0;
flex-shrink: 0;
margin-bottom: 0
}
}
@media (min-width: 700px) {
[dir="ltr"] .layout--twocol-section--50-50 > .layout__region--first {
margin-right: 18px
}
[dir="rtl"] .layout--twocol-section--50-50 > .layout__region--first {
margin-left: 18px
}
.layout--twocol-section--50-50 > .layout__region--first {
flex-basis: calc(50% - 18px);
}
[dir="ltr"] .layout--twocol-section--50-50 > .layout__region--second {
margin-left: 18px
}
[dir="rtl"] .layout--twocol-section--50-50 > .layout__region--second {
margin-right: 18px
}
.layout--twocol-section--50-50 > .layout__region--second {
flex-basis: calc(50% - 18px);
}
[dir="ltr"] .layout--twocol-section--33-67 > .layout__region--first {
margin-right: 11.9988px
}
[dir="rtl"] .layout--twocol-section--33-67 > .layout__region--first {
margin-left: 11.9988px
}
.layout--twocol-section--33-67 > .layout__region--first {
flex-basis: calc(33.33% - 11.9988px);
}
[dir="ltr"] .layout--twocol-section--33-67 > .layout__region--second {
margin-left: 23.9976px
}
[dir="rtl"] .layout--twocol-section--33-67 > .layout__region--second {
margin-right: 23.9976px
}
.layout--twocol-section--33-67 > .layout__region--second {
flex-basis: calc(66.66% - 23.9976px);
}
[dir="ltr"] .layout--twocol-section--67-33 > .layout__region--first {
margin-right: 23.9976px
}
[dir="rtl"] .layout--twocol-section--67-33 > .layout__region--first {
margin-left: 23.9976px
}
.layout--twocol-section--67-33 > .layout__region--first {
flex-basis: calc(66.66% - 23.9976px);
}
[dir="ltr"] .layout--twocol-section--67-33 > .layout__region--second {
margin-left: 11.9988px
}
[dir="rtl"] .layout--twocol-section--67-33 > .layout__region--second {
margin-right: 11.9988px
}
.layout--twocol-section--67-33 > .layout__region--second {
flex-basis: calc(33.33% - 11.9988px);
}
[dir="ltr"] .layout--twocol-section--25-75 > .layout__region--first {
margin-right: 9px
}
[dir="rtl"] .layout--twocol-section--25-75 > .layout__region--first {
margin-left: 9px
}
.layout--twocol-section--25-75 > .layout__region--first {
flex-basis: calc(25% - 9px);
}
[dir="ltr"] .layout--twocol-section--25-75 > .layout__region--second {
margin-left: 27px
}
[dir="rtl"] .layout--twocol-section--25-75 > .layout__region--second {
margin-right: 27px
}
.layout--twocol-section--25-75 > .layout__region--second {
flex-basis: calc(75% - 27px);
}
[dir="ltr"] .layout--twocol-section--75-25 > .layout__region--first {
margin-right: 27px
}
[dir="rtl"] .layout--twocol-section--75-25 > .layout__region--first {
margin-left: 27px
}
.layout--twocol-section--75-25 > .layout__region--first {
flex-basis: calc(75% - 27px);
}
[dir="ltr"] .layout--twocol-section--75-25 > .layout__region--second {
margin-left: 9px
}
[dir="rtl"] .layout--twocol-section--75-25 > .layout__region--second {
margin-right: 9px
}
.layout--twocol-section--75-25 > .layout__region--second {
flex-basis: calc(25% - 9px);
}
}