Revert "Varia - center Getty image embeds (#6231)" (#6285)

This reverts commit 5459308054.
This commit is contained in:
Sarah Norris 2022-07-25 15:58:48 +01:00 committed by GitHub
parent 5459308054
commit dbdbddd0e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 358 additions and 718 deletions

View file

@ -58,4 +58,4 @@
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments-query-loop -->
<!-- /wp:comments-query-loop -->

View file

@ -3,48 +3,49 @@
* Currently it is being loaded within ponyfill
* As ponyfill gets refactored, add the necessary styles here.
*/
/*
* Button hover styles.
* Necessary until the following issue is resolved in Gutenberg:
* https://github.com/WordPress/gutenberg/issues/27075
*/
:is(
.wp-block-search__button,
.wp-block-button__link
:is(
.wp-block-search__button,
.wp-block-button__link
):is(
:hover,
:active,
:focus
:hover,
:active,
:focus
) {
text-decoration: none;
text-decoration: none;
cursor: pointer;
color: var(--wp--custom--button--hover--color--text);
background-color: var(--wp--custom--button--hover--color--background);
border-color: var(--wp--custom--button--hover--border--color);
color: var(--wp--custom--button--hover--color--text);
background-color: var(--wp--custom--button--hover--color--background);
border-color: var(--wp--custom--button--hover--border--color);
}
:is(
.wp-block-search__button,
.wp-block-button__link
.wp-block-search__button,
.wp-block-button__link
):focus {
outline: 1.5px dotted var(--wp--preset--color--foreground);
outline-offset: 3px;
}
:is(
.is-style-outline.wp-block-button,
.is-style-outline.wp-block-button__link
.is-style-outline.wp-block-button,
.is-style-outline.wp-block-button__link
) {
color: var(--wp--custom--button--outline--color--text, var(--wp--custom--button--border--color));
color: var(--wp--custom--button--outline--color--text, var(--wp--custom--button--border--color) );
}
:is(
.is-style-outline>.wp-block-button__link,
.is-style-outline.wp-block-button__link
.is-style-outline>.wp-block-button__link,
.is-style-outline.wp-block-button__link
):not(.has-background):hover {
color: var(--wp--custom--button--outline--hover--color--text, var(--wp--custom--button--color--text));
background-color: var(--wp--custom--button--outline--hover--color--background, var(--wp--custom--button--color--background));
color: var(--wp--custom--button--outline--hover--color--text, var(--wp--custom--button--color--text));
background-color: var(--wp--custom--button--outline--hover--color--background, var(--wp--custom--button--color--background));
}

View file

@ -29,4 +29,5 @@
@import "blocks/table";
@import "blocks/video";
@import "post/meta";
@import "style";

View file

@ -1,3 +1,7 @@
figure {
}
figcaption {
color: #{map-deep-get($config-global, "color", "foreground", "light")};
font-size: #{map-deep-get($config-global, "font", "size", "xs")};
@ -28,8 +32,3 @@ iframe,
object {
max-width: 100%;
}
/* Center-align getty image embeds */
.getty.embed.image {
display: block !important;
}

View file

@ -311,11 +311,6 @@ object {
max-width: 100%;
}
/* Center-align getty image embeds */
.getty.embed.image {
display: block !important;
}
/**
* Blocks
* - These styles replace key Gutenberg Block styles for fonts, colors, and

View file

@ -6,7 +6,7 @@ Author: Automattic
Author URI: https://automattic.com/
Description: A variable-based design system for WordPress sites built with Gutenberg.
Requires at least: WordPress 4.9.6
Version: 1.6.16
Version: 1.6.14
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: varia
@ -1112,11 +1112,6 @@ object {
max-width: 100%;
}
/* Center-align getty image embeds */
.getty.embed.image {
display: block !important;
}
/**
* Blocks
* - These styles replace key Gutenberg Block styles for fonts, colors, and

File diff suppressed because it is too large Load diff