Scratchpad: Remove not() styles for cover block, since they made paragraph styles too specific. Bump version number.

This commit is contained in:
Laurel Fulford 2018-11-24 11:12:44 -08:00
parent c586125f2e
commit 408dd859e9
2 changed files with 17 additions and 13 deletions

View file

@ -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;
}

View file

@ -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