From e7382153fefab7fa05c87748d631dcd4fe76c3d2 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Tue, 11 Feb 2020 19:36:56 +0000 Subject: [PATCH] Bundled Themes: Twenty Sixteen text color setting in pullquote block not applied. Fixes the pullquote color setting by moving `color` from `blockquote p` to `blockquote`. Also adds the border-left to the front-end stylesheet to match the editor. Also adds styles for rtl pullquote. Props kokkieh, desrosj, mukesh27, khushbu19, disillusia, aliveic, abrightclearweb, SergeyBiryukov. Fixes #47019. git-svn-id: https://develop.svn.wordpress.org/trunk@47273 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentysixteen/css/blocks.css | 10 ++++++---- .../themes/twentysixteen/css/editor-blocks.css | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wp-content/themes/twentysixteen/css/blocks.css b/src/wp-content/themes/twentysixteen/css/blocks.css index 9ddea8073f..b8b6b44715 100644 --- a/src/wp-content/themes/twentysixteen/css/blocks.css +++ b/src/wp-content/themes/twentysixteen/css/blocks.css @@ -158,17 +158,19 @@ p.has-drop-cap:not(:focus)::first-letter { } .wp-block-pullquote blockquote { - border-left: 0; + color: #686868; + border-left: 4px solid #1a1a1a; margin: 0; - padding: 0; + padding: 0 0 0 24px; } .rtl .wp-block-pullquote blockquote { - border-right: 0; + border-left: none; + border-right: 4px solid #1a1a1a; + padding: 0 24px 0 0; } .wp-block-pullquote p { - color: #686868; font-size: 19px; font-size: 1.1875rem; } diff --git a/src/wp-content/themes/twentysixteen/css/editor-blocks.css b/src/wp-content/themes/twentysixteen/css/editor-blocks.css index 4bf8cbf54f..9376a45872 100644 --- a/src/wp-content/themes/twentysixteen/css/editor-blocks.css +++ b/src/wp-content/themes/twentysixteen/css/editor-blocks.css @@ -505,7 +505,6 @@ Description: Used to style blocks in the editor. } .wp-block-pullquote blockquote > .editor-rich-text p { - color: #686868; font-size: 19px; font-size: 1.1875rem; }