Twenty Twenty-Two: Sync updates from GitHub.
This commit syncs minor changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], [52222], and [52283]. It reduces the size of a video asset, renames the templates and template parts directories, and adds CSS for button hover states. To view the full set of changes, visit 1a121e0224...da994d1fe5
.
Props kjellr, mburridge, sabernhardt, hellofromtonya, scruffian.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52335
git-svn-id: http://core.svn.wordpress.org/trunk@51927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
76419adcaa
commit
ef4271cfee
Binary file not shown.
|
@ -1,9 +0,0 @@
|
||||||
<!-- wp:template-part {"slug":"header-large-dark","tagName":"header"} /-->
|
|
||||||
|
|
||||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"right":"var(--wp--custom--spacing--small, 1.25rem)","left":"var(--wp--custom--spacing--small, 1.25rem)"}}}} -->
|
|
||||||
<main class="wp-block-group" style="padding-right:var(--wp--custom--spacing--small, 1.25rem);padding-left:var(--wp--custom--spacing--small, 1.25rem)">
|
|
||||||
<!-- wp:post-content {"layout":{"inherit":true}} /-->
|
|
||||||
</main>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
|
|
||||||
<!-- wp:template-part {"slug":"footer","tagName":"footer","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","right":"var(--wp--custom--spacing--small, 1.25rem)","left":"var(--wp--custom--spacing--small, 1.25rem)"}}},"layout":{"inherit":true}} /-->
|
|
|
@ -126,10 +126,10 @@ if ( ! function_exists( 'twentytwentytwo_preload_webfonts' ) ) :
|
||||||
/**
|
/**
|
||||||
* Preloads the main web font to improve performance.
|
* Preloads the main web font to improve performance.
|
||||||
*
|
*
|
||||||
* Only the main web font (font-style: normal) is preloaded here since that font is always relevant (e.g. it used
|
* Only the main web font (font-style: normal) is preloaded here since that font is always relevant (it is used
|
||||||
* on every heading). The other font is only needed if there is any applicable content in italic style, and
|
* on every heading, for example). The other font is only needed if there is any applicable content in italic style,
|
||||||
* therefore preloading it would in most cases regress performance when that font would otherwise not be loaded at
|
* and therefore preloading it would in most cases regress performance when that font would otherwise not be loaded
|
||||||
* all.
|
* at all.
|
||||||
*
|
*
|
||||||
* @since Twenty Twenty-Two 1.0
|
* @since Twenty Twenty-Two 1.0
|
||||||
*
|
*
|
||||||
|
|
|
@ -65,6 +65,14 @@ a:active {
|
||||||
padding: calc(.667em + 2px) calc(1.333em + 2px);
|
padding: calc(.667em + 2px) calc(1.333em + 2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-file a.wp-block-file__button:hover {
|
/*
|
||||||
opacity: 1;
|
* Button hover styles.
|
||||||
|
* Necessary until the following issue is resolved in Gutenberg:
|
||||||
|
* https://github.com/WordPress/gutenberg/issues/27075
|
||||||
|
*/
|
||||||
|
|
||||||
|
.wp-block-search__button:hover,
|
||||||
|
.wp-block-file .wp-block-file__button:hover,
|
||||||
|
.wp-block-button__link:hover {
|
||||||
|
opacity: 0.90;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-beta1-52334';
|
$wp_version = '5.9-beta1-52335';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue