|
|
|
/*
|
|
|
|
* DO NOT EDIT THIS FILE.
|
|
|
|
* See the following change record for more information,
|
|
|
|
* https://www.drupal.org/node/3084859
|
|
|
|
* @preserve
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Wide image component.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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. */
|
|
|
|
|
|
|
|
[dir="ltr"] .wide-image {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .wide-image {
|
|
|
|
margin-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .wide-image {
|
|
|
|
margin-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .wide-image {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.wide-image {
|
|
|
|
margin-top: var(--sp0-5);
|
|
|
|
margin-bottom: var(--sp2)
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 43.75rem) {
|
|
|
|
|
|
|
|
[dir="ltr"] .wide-image {
|
|
|
|
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .wide-image {
|
|
|
|
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
|
|
|
|
}
|
|
|
|
|
|
|
|
.wide-image {
|
|
|
|
width: calc(var(--grid-col-count)*var(--grid-col-width) + var(--grid-gap-count)*var(--grid-gap));
|
|
|
|
margin-top: var(--sp2);
|
|
|
|
margin-bottom: var(--sp4)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
[dir="ltr"] .wide-image {
|
|
|
|
margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .wide-image {
|
|
|
|
margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
|
|
|
|
}
|
|
|
|
|
|
|
|
.wide-image {
|
|
|
|
width: calc(var(--grid-col-width)*12 + var(--grid-gap)*11)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ensure that image doesn't overlap sidebar. */
|
|
|
|
|
|
|
|
@media (min-width: 62.5rem) {
|
|
|
|
|
|
|
|
.sidebar-grid .wide-image {
|
|
|
|
width: calc(var(--grid-col-width)*9 + var(--grid-gap)*8)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 81.25rem) {
|
|
|
|
|
|
|
|
.sidebar-grid .wide-image {
|
|
|
|
width: calc(var(--grid-col-width)*10 + var(--grid-gap)*9)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ensure that image doesn't overlap layout builder sections when editing layouts. */
|
|
|
|
|
|
|
|
[dir="ltr"] .layout-builder .wide-image {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .layout-builder .wide-image {
|
|
|
|
margin-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="ltr"] .layout-builder .wide-image {
|
|
|
|
margin-right: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .layout-builder .wide-image {
|
|
|
|
margin-left: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-builder .wide-image {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|