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