mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:29:37 +00:00
This updates the “Tested up to” header in the `readme.txt` file for all bundled theme. This also adds the “Tested up to” header to the `style.css` file for older default themes (Twenty Twenty and earlier). Previously, this header was only recommended, so it was not included. It is now required, per the theme handbook: https://make.wordpress.org/themes/handbook/review/required/#9-files. Props kafleg, mukesh27, ravipatel. Fixes #53797. Built from https://develop.svn.wordpress.org/trunk@52221 git-svn-id: http://core.svn.wordpress.org/trunk@51813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
71 lines
1.8 KiB
CSS
71 lines
1.8 KiB
CSS
/*
|
|
Theme Name: Twenty Twenty-Two
|
|
Theme URI: https://github.com/wordpress/twentytwentytwo/
|
|
Author: the WordPress team
|
|
Author URI: https://wordpress.org/
|
|
Description: The WordPress default theme for 2022.
|
|
Requires at least: 5.8
|
|
Tested up to: 5.9
|
|
Requires PHP: 5.6
|
|
Version: 1.0
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
Text Domain: twentytwentytwo
|
|
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments
|
|
|
|
Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
|
|
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
|
|
*/
|
|
|
|
/*
|
|
* Font smoothing.
|
|
* This is a niche setting that will not be available via Global Styles.
|
|
* https://github.com/WordPress/gutenberg/issues/35934
|
|
*/
|
|
|
|
body {
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/*
|
|
* Text link styles.
|
|
* Necessary until the following issue is resolved in Gutenberg:
|
|
* https://github.com/WordPress/gutenberg/issues/27075
|
|
*/
|
|
|
|
a {
|
|
text-decoration-thickness: 1px;
|
|
text-underline-offset: 0.25ch;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
text-decoration-style: dashed;
|
|
}
|
|
|
|
a:active {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/*
|
|
* Search and File Block button styles.
|
|
* Necessary until the following issues are resolved in Gutenberg:
|
|
* https://github.com/WordPress/gutenberg/issues/36444
|
|
* https://github.com/WordPress/gutenberg/issues/27760
|
|
*/
|
|
|
|
.wp-block-search__button,
|
|
.wp-block-file .wp-block-file__button {
|
|
background-color: var(--wp--preset--color--primary);
|
|
border-radius: 0;
|
|
border: none;
|
|
color: var(--wp--preset--color--background);
|
|
font-size: var(--wp--preset--typography--font-size--normal);
|
|
padding: calc(.667em + 2px) calc(1.333em + 2px);
|
|
}
|
|
|
|
.wp-block-file a.wp-block-file__button:hover {
|
|
opacity: 1;
|
|
}
|