From 408dd859e9b0d837888ff08daca7aa8cd9b75da2 Mon Sep 17 00:00:00 2001 From: Laurel Fulford Date: Sat, 24 Nov 2018 11:12:44 -0800 Subject: [PATCH] Scratchpad: Remove not() styles for cover block, since they made paragraph styles too specific. Bump version number. --- scratchpad/editor-blocks.css | 28 ++++++++++++++++------------ scratchpad/style.css | 2 +- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/scratchpad/editor-blocks.css b/scratchpad/editor-blocks.css index 8ee055aac..eee3a9191 100644 --- a/scratchpad/editor-blocks.css +++ b/scratchpad/editor-blocks.css @@ -19,14 +19,17 @@ --------------------------------------------------------------*/ .edit-post-visual-editor .editor-block-list__block, -.edit-post-visual-editor .editor-block-list__block p:not(.wp-block-cover-text), +.edit-post-visual-editor .editor-block-list__block p, .editor-default-block-appender input[type="text"].editor-default-block-appender__content { - color: #777; font-family: "Lato", "Helvetica Neue", helvetica, arial, sans-serif; font-size: 18px; line-height: 1.8; } +.edit-post-visual-editor .editor-block-list__block { + color: #777; +} + .alignleft, .editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit { display: inline; @@ -337,7 +340,7 @@ padding-right: 70px; } -.edit-post-visual-editor .editor-block-list__block blockquote p:not(.wp-block-cover-text) { +.edit-post-visual-editor .editor-block-list__block blockquote p { color: #aaa; font-size: 22px; } @@ -401,13 +404,14 @@ /* Cover */ -.wp-block-cover-image .wp-block-cover-image-text, -.wp-block-cover-image .wp-block-cover-text, -.wp-block-cover-image h2, -.wp-block-cover .wp-block-cover-image-text, -.wp-block-cover .wp-block-cover-text, -.wp-block-cover h2 { +.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-image-text, +.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image p.wp-block-cover-text, +.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image h2, +.edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-image-text, +.edit-post-visual-editor .editor-block-list__block .wp-block-cover p.wp-block-cover-text, +.edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 { font-family: "Kalam", "Chalkboard", "Comic Sans", script; + font-size: 2.0em; } /* File */ @@ -693,12 +697,12 @@ border: 0; } -.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote blockquote p:not(.wp-block-cover-text) { +.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote blockquote p { font-size: 28px; } -.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignleft blockquote p:not(.wp-block-cover-text), -.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignright blockquote p:not(.wp-block-cover-text) { +.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignleft blockquote p, +.edit-post-visual-editor .editor-block-list__block .wp-block-pullquote.alignright blockquote p { font-size: 22px; } diff --git a/scratchpad/style.css b/scratchpad/style.css index aa94c6bb4..6ac6eaabf 100644 --- a/scratchpad/style.css +++ b/scratchpad/style.css @@ -4,7 +4,7 @@ Theme URI: http://theme.wordpress.com/themes/scratchpad Author: Automattic Author URI: http://wordpress.com/themes Description: A colorful theme for collecting your ideas. -Version: 1.0.7-wpcom +Version: 1.0.8-wpcom License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: scratchpad