diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dabfba6..d0663c31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +### v1.2.0 +Features: +- Add Call to Action block patterns +- Add Audio/Quote block patterns + +Fixes: +- Rendering issue in README.md +- Missing spacing above Blockquote block +- Layout of Latest Posts block in Sidebars +- Erroneous whitespace below Hero block + +Chores: +- Move deprecated blocks to correct directory +- Bump Webpack version +- Bump Micromatch version + ### v1.1.2 Fixes: - Add missing viewport meta tags diff --git a/private/src/styles/block-patterns/_group.scss b/private/src/styles/block-patterns/_group.scss index 4a406197..6c17a3eb 100644 --- a/private/src/styles/block-patterns/_group.scss +++ b/private/src/styles/block-patterns/_group.scss @@ -14,6 +14,16 @@ .wp-block-heading { text-transform: uppercase; + font-size: 1.5rem; + } + + p { + font-size: 1rem; + padding: 10px 10px 0 10px; + } + + .wp-element-caption { + padding: 0 10px; } } @@ -30,7 +40,8 @@ background-color: var(--wp--preset--color--amnesty-grey-mid-dark); color: var(--wp--preset--color--white); - .wp-block-heading { + .wp-block-heading, + .wp-element-caption { color: var(--wp--preset--color--white); } } diff --git a/private/src/styles/blocks/hero/_main.scss b/private/src/styles/blocks/hero/_main.scss index 87d6fea5..b4f4863b 100644 --- a/private/src/styles/blocks/hero/_main.scss +++ b/private/src/styles/blocks/hero/_main.scss @@ -34,7 +34,7 @@ display: table; padding: 10px 16px; max-width: 460px; - font-size: 1.5rem; + font-size: $base-font-size; @include mq(xx-small) { padding: 10px 20px; @@ -45,7 +45,7 @@ .hero-title span { margin: 0; padding: 0 16px; - font-size: 4.5rem; + font-size: 27px; line-height: 1.3 !important; background-color: rgba(0, 0, 0, 0.45); color: #fff; diff --git a/wp-content/themes/humanity-theme/style.css b/wp-content/themes/humanity-theme/style.css index cc67c6c0..609530ad 100644 --- a/wp-content/themes/humanity-theme/style.css +++ b/wp-content/themes/humanity-theme/style.css @@ -2,7 +2,7 @@ * Theme Name: Humanity Theme * Theme URI: https://github.com/amnestywebsite/humanity-theme * Description: The Amnesty International WordPress Humanity Theme - * Version: 1.1.2 + * Version: 1.2.0 * Author: Amnesty International * Author URI: https://www.amnesty.org * License: GPLv2 @@ -11,5 +11,5 @@ * Domain Path: /languages * Requires PHP: 8.2.0 * Requires at least: 5.8.0 - * Tested up to: 6.4.4 + * Tested up to: 6.4.5 */