clone of olivero for island lives
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.3 KiB

1 year ago
/*
* 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;
1 year ago
flex-wrap: wrap;
1 year ago
}
.layout--twocol-section > .layout__region {
1 year ago
flex: 1 0 100%;
margin-block-end: var(--grid-gap);
}
1 year ago
@media (min-width: 43.75rem) {
1 year ago
.layout--twocol-section > .layout__region {
flex-grow: 0;
flex-shrink: 0;
margin-block-end: 0;
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 43.75rem) {
1 year ago
.layout--twocol-section--50-50 > .layout__region--first {
flex-basis: calc(50% - (var(--grid-gap) * 0.5));
margin-inline-end: calc(var(--grid-gap) * 0.5);
1 year ago
}
1 year ago
.layout--twocol-section--50-50 > .layout__region--second {
flex-basis: calc(50% - (var(--grid-gap) * 0.5));
margin-inline-start: calc(var(--grid-gap) * 0.5);
1 year ago
}
1 year ago
.layout--twocol-section--33-67 > .layout__region--first {
flex-basis: calc(33.33% - (var(--grid-gap) * 0.3333));
margin-inline-end: calc(var(--grid-gap) * 0.3333);
1 year ago
}
1 year ago
.layout--twocol-section--33-67 > .layout__region--second {
flex-basis: calc(66.66% - (var(--grid-gap) * 0.6666));
margin-inline-start: calc(var(--grid-gap) * 0.6666);
1 year ago
}
1 year ago
.layout--twocol-section--67-33 > .layout__region--first {
flex-basis: calc(66.66% - (var(--grid-gap) * 0.6666));
margin-inline-end: calc(var(--grid-gap) * 0.6666);
1 year ago
}
1 year ago
.layout--twocol-section--67-33 > .layout__region--second {
flex-basis: calc(33.33% - (var(--grid-gap) * 0.3333));
margin-inline-start: calc(var(--grid-gap) * 0.3333);
1 year ago
}
1 year ago
.layout--twocol-section--25-75 > .layout__region--first {
flex-basis: calc(25% - (var(--grid-gap) * 0.25));
margin-inline-end: calc(var(--grid-gap) * 0.25);
1 year ago
}
1 year ago
.layout--twocol-section--25-75 > .layout__region--second {
flex-basis: calc(75% - (var(--grid-gap) * 0.75));
margin-inline-start: calc(var(--grid-gap) * 0.75);
1 year ago
}
1 year ago
.layout--twocol-section--75-25 > .layout__region--first {
flex-basis: calc(75% - (var(--grid-gap) * 0.75));
margin-inline-end: calc(var(--grid-gap) * 0.75);
1 year ago
}
1 year ago
.layout--twocol-section--75-25 > .layout__region--second {
flex-basis: calc(25% - (var(--grid-gap) * 0.25));
margin-inline-start: calc(var(--grid-gap) * 0.25);
1 year ago
}
}