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.
114 lines
2.8 KiB
114 lines
2.8 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 four-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--fourcol-section { |
|
display: flex; |
|
flex-wrap: wrap |
|
} |
|
|
|
.layout--fourcol-section > .layout__region { |
|
flex: 1 0 100%; |
|
margin-bottom: var(--grid-gap) |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
|
|
.layout--fourcol-section > .layout__region { |
|
flex-basis: calc(50% - var(--grid-gap)*0.5); |
|
flex-grow: 0; |
|
flex-shrink: 0; |
|
margin-bottom: 0 |
|
} |
|
} |
|
|
|
.layout--fourcol-section { |
|
|
|
/* Two column layout. */ |
|
} |
|
|
|
@media (min-width: 43.75rem) { |
|
.layout--fourcol-section > .layout__region--first, |
|
.layout--fourcol-section > .layout__region--second { |
|
margin-bottom: var(--grid-gap); |
|
} |
|
|
|
[dir="ltr"] .layout--fourcol-section > .layout__region--first,[dir="ltr"] |
|
.layout--fourcol-section > .layout__region--third { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="rtl"] .layout--fourcol-section > .layout__region--first,[dir="rtl"] |
|
.layout--fourcol-section > .layout__region--third { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="ltr"] .layout--fourcol-section > .layout__region--second,[dir="ltr"] |
|
.layout--fourcol-section > .layout__region--fourth { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="rtl"] .layout--fourcol-section > .layout__region--second,[dir="rtl"] |
|
.layout--fourcol-section > .layout__region--fourth { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
} |
|
|
|
.layout--fourcol-section { |
|
|
|
/* Four column layout. */ |
|
} |
|
|
|
@media (min-width: 62.5rem) { |
|
.layout--fourcol-section > .layout__region { |
|
flex-basis: calc(25% - var(--grid-gap)*0.75); |
|
} |
|
|
|
.layout--fourcol-section > .layout__region--first, |
|
.layout--fourcol-section > .layout__region--second { |
|
margin-bottom: 0; |
|
} |
|
|
|
[dir="ltr"] .layout--fourcol-section > .layout__region--first { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="rtl"] .layout--fourcol-section > .layout__region--first { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
.layout--fourcol-section > .layout__region--second, |
|
.layout--fourcol-section > .layout__region--third { |
|
margin-left: calc(var(--grid-gap)*0.5); |
|
margin-right: calc(var(--grid-gap)*0.5); |
|
} |
|
|
|
[dir="ltr"] .layout--fourcol-section > .layout__region--fourth { |
|
margin-left: calc(var(--grid-gap)*0.5) |
|
} |
|
|
|
[dir="rtl"] .layout--fourcol-section > .layout__region--fourth { |
|
margin-right: calc(var(--grid-gap)*0.5) |
|
} |
|
}
|
|
|