WordPress/wp-content/themes/twentytwentyone
Sergey Biryukov 25e697c948 Twenty Twenty-One: Remove spacer block styles.
The theme includes styles for the spacer block for the front which appears to be unnecessary:
* It adds `display: block` even though that is the default.
* It removes top and bottom margin, even though this is not needed in the post content because of collapsing margins between blocks.
* It uses a custom CSS property to force a specific height on mobile. This affects the patterns in the theme negatively.

It also causes styling problems:
* When the spacer block has a height set to `0` in the navigation block, as the theme forces this to be larger on smaller screens.
* When the block is horizontal. Horizontal was not an option when this style was added.

Consequences of removal:
* Removing the use of the custom CSS property will cause a style change for websites that have adjusted the spacing property.

Follow-up to [49216], [49574].

Props poena, mukesh27.
Fixes #56222.
Built from https://develop.svn.wordpress.org/trunk@54103


git-svn-id: http://core.svn.wordpress.org/trunk@53662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-09-08 15:48:08 +00:00
..
assets Twenty Twenty-One: Remove spacer block styles. 2022-09-08 15:48:08 +00:00
classes Twenty Twenty-One: i18n fix for privacy policy section title. 2022-05-11 08:46:17 +00:00
inc Twenty Twenty-One: Add block type suggestions to block patterns. 2022-07-19 08:56:14 +00:00
template-parts Bundled Themes: Remove closing PHP tag at the end of files. 2022-08-11 14:46:09 +00:00
.stylelintignore Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
.stylelintrc-css.json Twenty Twenty-One: Update `devDependencies`. 2021-05-24 15:37:55 +00:00
.stylelintrc.json Twenty Twenty-One: Re-add `px` unit to the admin bar height custom property. 2021-05-24 18:33:59 +00:00
404.php Twenty Twenty-One: Correct `@since` inline documentation tags. 2020-12-17 14:57:07 +00:00
archive.php Bundled Themes: Remove closing PHP tag at the end of files. 2022-08-11 14:46:09 +00:00
comments.php Bundled Theme: Display required text field in core themes. 2021-11-12 22:46:59 +00:00
footer.php Twenty Twenty-One: Add privacy policy link to footer. 2021-11-09 22:26:01 +00:00
functions.php i18n: Define List item separator as a WP_Locale property. 2022-03-13 20:03:01 +00:00
header.php Bundled Themes: Remove the "role" attribute on HTML elements with a default landmark role. 2021-11-04 18:18:01 +00:00
image.php Twenty Twenty-One: Make translator comments referencing the post title consistent. 2022-04-25 23:11:10 +00:00
index.php Twenty Twenty-One: Fix "Opening PHP tag must be on a line by itself" WPCS issue. 2021-05-03 14:35:02 +00:00
package-lock.json Twenty Twenty-One: Update NPM dependencies. 2022-07-22 16:42:08 +00:00
package.json Twenty Twenty-One: Update NPM dependencies. 2022-07-22 16:42:08 +00:00
page.php Twenty Twenty-One: Correct `@since` inline documentation tags. 2020-12-17 14:57:07 +00:00
postcss.config.js Twenty Twenty-One: Combine duplicate CSS rules. 2021-11-24 03:35:03 +00:00
readme.txt Bundled themes: Bump versions for WordPress 6.0 release. 2022-05-20 01:49:16 +00:00
screenshot.png Twenty Twenty-One: Sync the latest changes for 5.6 RC1. 2020-11-17 19:00:08 +00:00
search.php Twenty Twenty-One: Capitalize translator comments consistently. 2021-02-07 12:28:08 +00:00
searchform.php Twenty Twenty-One: Correct `@since` inline documentation tags. 2020-12-17 14:57:07 +00:00
single.php Twenty Twenty-One: Capitalize translator comments consistently. 2021-02-07 12:28:08 +00:00
style-rtl.css Twenty Twenty-One: Remove spacer block styles. 2022-09-08 15:48:08 +00:00
style.css Twenty Twenty-One: Remove spacer block styles. 2022-09-08 15:48:08 +00:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=== Twenty Twenty-One ===
Contributors: wordpressdotorg
Requires at least: 5.3
Tested up to: 6.0
Requires PHP: 5.6
Stable tag: 1.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush.

With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this themes soft colors and eye-catching — yet timeless — design will let your work shine.

Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.

== Installation ==

1. In your admin panel, go to Appearance -> Themes and click the 'Add New' button.
2. Type in Twenty Twenty-One in the search form and press the 'Enter' key on your keyboard.
3. Click on the 'Activate' button to use your new theme right away.
4. Go to INSERT ABOUT PAGE for a guide on how to customize this theme.
5. Navigate to Appearance > Customize in your admin panel and customize to your taste.

== Privacy ==
Twenty Twenty-One uses LocalStorage to save the setting when Dark Mode support is turned on or off.
LocalStorage is necessary for the setting to work and is only used when a user clicks on the Dark Mode button.
No data is saved in the database or transferred.

== Changelog ==

= 1.6 =
* Released: May 24, 2022

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.6

= 1.5 =
* Released: January 25, 2022

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.5

= 1.4 =
* Released: July 20, 2021

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.4

= 1.3 =
* Released: April 14, 2021

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.3

= 1.2 =
* Released: March 9, 2021

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.2

= 1.1 =
* Released: December 22, 2020

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.1

= 1.0 =
* Released: December 8, 2020

https://wordpress.org/support/article/twenty-twenty-one-changelog#Version_1.0

== Copyright ==

Twenty Twenty-One WordPress Theme, 2020-2022 WordPress.org
Twenty Twenty-One is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


Twenty Twenty-One is derived from Seedlet, (C) 2020 Automattic, Inc.

Twenty Twenty-One is also based on:

Twenty Nineteen. 2018-2022 WordPress.org
Twenty Nineteen is distributed under the terms of the GNU GPL v2 or later.

Twenty Seventeen. Copyright (C) 2016-2022 WordPress.org
Twenty Seventeen is distributed under the terms of the GNU GPL v2 or later.

Twenty Sixteen. Copyright (C) 2015-2022 WordPress.org
Twenty Sixteen is distributed under the terms of the GNU GPL v2 or later.

Twenty Twenty. Copyright (C) 2020-2022 WordPress.org
Twenty Twenty is distributed under the terms of the GNU GPL v2 or later.

Underscores https://underscores.me/, Copyright (C) 2012-2022 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

Unless otherwise noted, the icons in this theme are derived from the WordPress
Icons Library, licensed under the terms of the GNU GPL v2 or later.
https://github.com/WordPress/gutenberg/tree/master/packages/icons

This theme bundles the following third-party resources:

input[type='checkbox'], input[type='radio'], input[type='ranged'],
https://css-tricks.com/custom-styling-form-inputs-with-modern-css-features/
https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/
https://codepen.io/aaroniker/pen/ZEYoxEY Copyright (c) 2020 Aaron Iker
https://codepen.io/chriscoyier/pen/FtnAa Copyright (c) 2020 Chris Coyier
License: MIT.

Images
Art by Berthe Morisot 1841-1895. Public domain.
https://www.wikiart.org/en/berthe-morisot/playing-in-the-sand
https://www.wikiart.org/en/berthe-morisot/roses-tremieres-hollyhocks-1884
https://www.wikiart.org/en/berthe-morisot/young-woman-in-mauve
https://www.wikiart.org/en/berthe-morisot/in-the-bois-de-boulogne
https://www.wikiart.org/en/berthe-morisot/daffodils
https://www.wikiart.org/en/berthe-morisot/self-portrait-1885
https://www.wikiart.org/en/berthe-morisot/the-garden-at-bougival-1884
https://www.wikiart.org/en/berthe-morisot/villa-with-orange-trees-nice
https://www.wikiart.org/en/berthe-morisot/reading