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.

151 lines
3.7 KiB

10 months ago
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Embedded Media.
*/
figure {
background: var(--color--gray-100);
}
figcaption {
10 months ago
padding-block: var(--sp0-5);
padding-inline-start: var(--sp0-5);
padding-inline-end: var(--sp0-5);
10 months ago
color: var(--color-text-neutral-medium);
background: var(--color--gray-100);
font-family: var(--font-serif);
font-size: 0.875rem;
font-style: italic;
10 months ago
line-height: var(--sp);
10 months ago
}
@media (min-width: 31.25rem) {
10 months ago
figcaption {
padding-block: var(--sp);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
10 months ago
}
}
.align-right {
float: none; /* Override core's align.module.css. */
max-width: 100%;
10 months ago
margin-block: var(--sp3);
margin-inline-start: 0;
margin-inline-end: 0;
10 months ago
}
@media (min-width: 43.75rem) {
10 months ago
.align-right {
10 months ago
float: right; /* LTR */
max-width: 50%;
10 months ago
margin-block-start: var(--sp);
margin-block-end: var(--sp);
margin-inline-start: var(--sp);
margin-inline-end: 0;
10 months ago
/**
* Chromium and Webkit do not yet support flow relative logical properties,
* such as float: inline-end. However, PostCSS Logical does not compile this
* value, so we accommodate by not using these.
*
* @see https://caniuse.com/mdn-css_properties_clear_flow_relative_values
* @see https://github.com/csstools/postcss-plugins/issues/632
*/
10 months ago
}
10 months ago
[dir="rtl"] .align-right {
float: left;
}
}
10 months ago
/* Pull out of grid if nested in content narrow layout. */
10 months ago
/* @todo this can be simplified. */
10 months ago
@media (min-width: 43.75rem) {
10 months ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
10 months ago
}
10 months ago
}
10 months ago
@media (min-width: 62.5rem) {
10 months ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-2 * ((var(--grid-col-width) + var(--grid-gap))));
10 months ago
}
10 months ago
}
10 months ago
@media (min-width: 75rem) {
10 months ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-3 * ((var(--grid-col-width) + var(--grid-gap))));
10 months ago
}
10 months ago
}
10 months ago
@media (min-width: 90rem) {
10 months ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-3 * ((var(--grid-col-width) + var(--grid-gap))));
10 months ago
}
}
.align-left {
float: none; /* Override core's align.module.css. */
max-width: 100%;
10 months ago
margin-block-start: var(--sp3);
margin-block-end: var(--sp3);
margin-inline-start: 0;
margin-inline-end: 0;
10 months ago
}
@media (min-width: 43.75rem) {
10 months ago
.align-left {
10 months ago
float: left; /* LTR */
max-width: 50%;
10 months ago
margin-block-start: var(--sp);
margin-block-end: var(--sp);
margin-inline-start: 0;
margin-inline-end: var(--sp2); /* Extra right margins in case of aligning next to lists. */
10 months ago
/**
* Chromium and Webkit do not yet support flow relative logical properties,
* such as float: inline-end. However, PostCSS Logical does not compile this
* value, so we accommodate by not using these.
*
* @see https://caniuse.com/mdn-css_properties_clear_flow_relative_values
* @see https://github.com/csstools/postcss-plugins/issues/632
*/
10 months ago
}
10 months ago
[dir="rtl"] .align-left {
float: right;
}
}
10 months ago
/* Pull out of grid if nested in content narrow layout. */
@media (min-width: 43.75rem) {
10 months ago
.layout--content-narrow .align-left,
.layout--pass--content-narrow > * .align-left {
margin-inline-start: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
10 months ago
}
10 months ago
}
10 months ago
.align-center img,
.align-center video,
.align-center audio {
10 months ago
margin-inline: auto;
10 months ago
}
.media-oembed-content {
display: block;
max-width: 100%;
}