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

1 year 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 {
1 year ago
padding-block: var(--sp0-5);
padding-inline-start: var(--sp0-5);
padding-inline-end: var(--sp0-5);
1 year ago
color: var(--color-text-neutral-medium);
background: var(--color--gray-100);
font-family: var(--font-serif);
font-size: 0.875rem;
font-style: italic;
1 year ago
line-height: var(--sp);
1 year ago
}
@media (min-width: 31.25rem) {
1 year ago
figcaption {
padding-block: var(--sp);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
1 year ago
}
}
.align-right {
float: none; /* Override core's align.module.css. */
max-width: 100%;
1 year ago
margin-block: var(--sp3);
margin-inline-start: 0;
margin-inline-end: 0;
1 year ago
}
@media (min-width: 43.75rem) {
1 year ago
.align-right {
1 year ago
float: right; /* LTR */
max-width: 50%;
1 year ago
margin-block-start: var(--sp);
margin-block-end: var(--sp);
margin-inline-start: var(--sp);
margin-inline-end: 0;
1 year 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
*/
1 year ago
}
1 year ago
[dir="rtl"] .align-right {
float: left;
}
}
1 year ago
/* Pull out of grid if nested in content narrow layout. */
1 year ago
/* @todo this can be simplified. */
1 year ago
@media (min-width: 43.75rem) {
1 year ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 62.5rem) {
1 year ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-2 * ((var(--grid-col-width) + var(--grid-gap))));
1 year ago
}
1 year ago
}
1 year ago
12 months ago
@media ((((min-width: 60rem)))) {
1 year ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-3 * ((var(--grid-col-width) + var(--grid-gap))));
1 year ago
}
1 year ago
}
1 year ago
@media (min-width: 90rem) {
1 year ago
.layout--content-narrow .align-right,
.layout--pass--content-narrow > * .align-right {
margin-inline-end: calc(-3 * ((var(--grid-col-width) + var(--grid-gap))));
1 year ago
}
}
.align-left {
float: none; /* Override core's align.module.css. */
max-width: 100%;
1 year ago
margin-block-start: var(--sp3);
margin-block-end: var(--sp3);
margin-inline-start: 0;
margin-inline-end: 0;
1 year ago
}
@media (min-width: 43.75rem) {
1 year ago
.align-left {
1 year ago
float: left; /* LTR */
max-width: 50%;
1 year 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. */
1 year 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
*/
1 year ago
}
1 year ago
[dir="rtl"] .align-left {
float: right;
}
}
1 year ago
/* Pull out of grid if nested in content narrow layout. */
@media (min-width: 43.75rem) {
1 year ago
.layout--content-narrow .align-left,
.layout--pass--content-narrow > * .align-left {
margin-inline-start: calc(-1 * ((var(--grid-col-width) + var(--grid-gap))));
1 year ago
}
1 year ago
}
1 year ago
.align-center img,
.align-center video,
.align-center audio {
1 year ago
margin-inline: auto;
1 year ago
}
.media-oembed-content {
display: block;
max-width: 100%;
}