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.
151 lines
4.5 KiB
151 lines
4.5 KiB
/* |
|
* 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. |
|
*/ |
|
|
|
/* |
|
* Media query breakpoints. |
|
* Processed by postcss/postcss-custom-media. |
|
*/ |
|
|
|
/* Navigation related breakpoints */ |
|
|
|
/* Grid related breakpoints */ |
|
|
|
/* Grid shifts from 6 to 14 columns. */ |
|
|
|
/* Width of the entire grid maxes out. */ |
|
|
|
.layout--twocol-section { |
|
display: flex; |
|
flex-wrap: wrap |
|
} |
|
|
|
.layout--twocol-section > .layout__region { |
|
flex: 1 0 100%; |
|
margin-bottom: var(--grid-gap) |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.layout--twocol-section > .layout__region { |
|
flex-grow: 0; |
|
flex-shrink: 0; |
|
margin-bottom: 0 |
|
} |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
[dir="ltr"] .layout--twocol-section--50-50 > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
[dir="rtl"] .layout--twocol-section--50-50 > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
.layout--twocol-section--50-50 > .layout__region--first { |
|
flex-basis: calc(50% - var(--grid-gap)*0.5); |
|
} |
|
|
|
[dir="ltr"] .layout--twocol-section--50-50 > .layout__region--second { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="rtl"] .layout--twocol-section--50-50 > .layout__region--second { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
.layout--twocol-section--50-50 > .layout__region--second { |
|
flex-basis: calc(50% - var(--grid-gap)*0.5); |
|
} |
|
[dir="ltr"] .layout--twocol-section--33-67 > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.3333) |
|
} |
|
[dir="rtl"] .layout--twocol-section--33-67 > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.3333) |
|
} |
|
.layout--twocol-section--33-67 > .layout__region--first { |
|
flex-basis: calc(33.33% - var(--grid-gap)*0.3333); |
|
} |
|
|
|
[dir="ltr"] .layout--twocol-section--33-67 > .layout__region--second { |
|
margin-left: calc(var(--grid-gap)*0.6666) |
|
} |
|
|
|
[dir="rtl"] .layout--twocol-section--33-67 > .layout__region--second { |
|
margin-right: calc(var(--grid-gap)*0.6666) |
|
} |
|
|
|
.layout--twocol-section--33-67 > .layout__region--second { |
|
flex-basis: calc(66.66% - var(--grid-gap)*0.6666); |
|
} |
|
[dir="ltr"] .layout--twocol-section--67-33 > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.6666) |
|
} |
|
[dir="rtl"] .layout--twocol-section--67-33 > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.6666) |
|
} |
|
.layout--twocol-section--67-33 > .layout__region--first { |
|
flex-basis: calc(66.66% - var(--grid-gap)*0.6666); |
|
} |
|
|
|
[dir="ltr"] .layout--twocol-section--67-33 > .layout__region--second { |
|
margin-left: calc(var(--grid-gap)*0.3333) |
|
} |
|
|
|
[dir="rtl"] .layout--twocol-section--67-33 > .layout__region--second { |
|
margin-right: calc(var(--grid-gap)*0.3333) |
|
} |
|
|
|
.layout--twocol-section--67-33 > .layout__region--second { |
|
flex-basis: calc(33.33% - var(--grid-gap)*0.3333); |
|
} |
|
[dir="ltr"] .layout--twocol-section--25-75 > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.25) |
|
} |
|
[dir="rtl"] .layout--twocol-section--25-75 > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.25) |
|
} |
|
.layout--twocol-section--25-75 > .layout__region--first { |
|
flex-basis: calc(25% - var(--grid-gap)*0.25); |
|
} |
|
|
|
[dir="ltr"] .layout--twocol-section--25-75 > .layout__region--second { |
|
margin-left: calc(var(--grid-gap)*0.75) |
|
} |
|
|
|
[dir="rtl"] .layout--twocol-section--25-75 > .layout__region--second { |
|
margin-right: calc(var(--grid-gap)*0.75) |
|
} |
|
|
|
.layout--twocol-section--25-75 > .layout__region--second { |
|
flex-basis: calc(75% - var(--grid-gap)*0.75); |
|
} |
|
[dir="ltr"] .layout--twocol-section--75-25 > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.75) |
|
} |
|
[dir="rtl"] .layout--twocol-section--75-25 > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.75) |
|
} |
|
.layout--twocol-section--75-25 > .layout__region--first { |
|
flex-basis: calc(75% - var(--grid-gap)*0.75); |
|
} |
|
|
|
[dir="ltr"] .layout--twocol-section--75-25 > .layout__region--second { |
|
margin-left: calc(var(--grid-gap)*0.25) |
|
} |
|
|
|
[dir="rtl"] .layout--twocol-section--75-25 > .layout__region--second { |
|
margin-right: calc(var(--grid-gap)*0.25) |
|
} |
|
|
|
.layout--twocol-section--75-25 > .layout__region--second { |
|
flex-basis: calc(25% - var(--grid-gap)*0.25); |
|
} |
|
}
|
|
|