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
78 lines
2.3 KiB
10 months 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;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
|
||
|
.layout--twocol-section > .layout__region {
|
||
|
flex: 1 0 100%;
|
||
|
margin-block-end: var(--grid-gap);
|
||
|
}
|
||
|
|
||
|
@media (min-width: 43.75rem) {
|
||
|
.layout--twocol-section > .layout__region {
|
||
|
flex-grow: 0;
|
||
|
flex-shrink: 0;
|
||
|
margin-block-end: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (min-width: 43.75rem) {
|
||
|
.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);
|
||
|
}
|
||
|
|
||
|
.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);
|
||
|
}
|
||
|
.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);
|
||
|
}
|
||
|
|
||
|
.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);
|
||
|
}
|
||
|
.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);
|
||
|
}
|
||
|
|
||
|
.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);
|
||
|
}
|
||
|
.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);
|
||
|
}
|
||
|
|
||
|
.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);
|
||
|
}
|
||
|
.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);
|
||
|
}
|
||
|
|
||
|
.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);
|
||
|
}
|
||
|
}
|