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.
94 lines
2.6 KiB
94 lines
2.6 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 three-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--threecol-section { |
|
display: flex; |
|
flex-wrap: wrap |
|
} |
|
|
|
.layout--threecol-section > .layout__region { |
|
flex: 1 0 100%; |
|
margin-bottom: var(--grid-gap) |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
|
|
.layout--threecol-section > .layout__region { |
|
flex-grow: 0; |
|
flex-shrink: 0; |
|
margin-bottom: 0 |
|
} |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
[dir="ltr"] .layout--threecol-section > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
[dir="rtl"] .layout--threecol-section > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
.layout--threecol-section > .layout__region--second { |
|
margin-left: calc(var(--grid-gap)*0.5); |
|
margin-right: calc(var(--grid-gap)*0.5); |
|
} |
|
|
|
[dir="ltr"] .layout--threecol-section > .layout__region--third { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="rtl"] .layout--threecol-section > .layout__region--third { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
.layout--threecol-section--25-50-25 > .layout__region--first, |
|
.layout--threecol-section--25-50-25 > .layout__region--third { |
|
flex-basis: calc(25% - var(--grid-gap)*0.5); |
|
} |
|
|
|
.layout--threecol-section--25-50-25 > .layout__region--second { |
|
flex-basis: calc(50% - var(--grid-gap)); |
|
} |
|
.layout--threecol-section--25-25-50 > .layout__region--first, |
|
.layout--threecol-section--25-25-50 > .layout__region--second { |
|
flex-basis: calc(25% - var(--grid-gap)*0.5); |
|
} |
|
|
|
.layout--threecol-section--25-25-50 > .layout__region--third { |
|
flex-basis: calc(50% - var(--grid-gap)); |
|
} |
|
.layout--threecol-section--50-25-25 > .layout__region--first { |
|
flex-basis: calc(50% - var(--grid-gap)); |
|
} |
|
|
|
.layout--threecol-section--50-25-25 > .layout__region--second, |
|
.layout--threecol-section--50-25-25 > .layout__region--third { |
|
flex-basis: calc(25% - var(--grid-gap)*0.5); |
|
} |
|
.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% - var(--grid-gap)*0.667); |
|
} |
|
}
|
|
|