clone of olivero for island lives
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.

56 lines
1.3 KiB

1 year ago
/*
* 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 {
1 year ago
margin-block-start: var(--sp0-5);
margin-block-end: var(--sp2);
margin-inline-start: 0;
margin-inline-end: 0;
1 year ago
}
@media (min-width: 43.75rem) {
1 year ago
.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))));
1 year ago
}
}
@media (min-width: 62.5rem) {
1 year ago
.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)));
1 year ago
}
}
/* Ensure that image doesn't overlap sidebar. */
@media (min-width: 62.5rem) {
1 year ago
.sidebar-grid .wide-image {
width: calc(9 * var(--grid-col-width) + 8 * var(--grid-gap));
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 81.25rem) {
1 year ago
.sidebar-grid .wide-image {
width: calc(10 * var(--grid-col-width) + 9 * var(--grid-gap));
1 year ago
}
}
1 year ago
/* Ensure that image doesn't overlap layout builder sections when editing layouts. */
1 year ago
1 year ago
.layout-builder .wide-image {
max-width: 100%;
1 year ago
margin-inline-start: 0;
margin-inline-end: 0;
1 year ago
}