Bladeren bron

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

Laurel Fulford 6 jaren geleden
bovenliggende
commit
85b3f208c6
2 gewijzigde bestanden met toevoegingen van 17 en 13 verwijderingen
  1. 16 12
      toujours/editor-blocks.css
  2. 1 1
      toujours/style.css

+ 16 - 12
toujours/editor-blocks.css

@@ -19,15 +19,18 @@
 --------------------------------------------------------------*/
 
 .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: #404040;
 	font-family: "Merriweather", Georgia, "Times New Roman", serif;
 	font-size: 17px;
 	font-weight: 400;
 	line-height: 1.8;
 }
 
+.edit-post-visual-editor .editor-block-list__block {
+	color: #404040;
+}
+
 .alignleft,
 .editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit {
 	display: inline;
@@ -437,7 +440,7 @@
 	padding-right: 30px;
 }
 
-.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: #888;
 	font-size: 20px;
 	font-style: italic;
@@ -500,14 +503,15 @@
 
 /* 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 .wp-block-cover-image-text,
+.edit-post-visual-editor .editor-block-list__block .wp-block-cover-image .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 .wp-block-cover-image-text,
+.edit-post-visual-editor .editor-block-list__block .wp-block-cover .wp-block-cover-text,
+.edit-post-visual-editor .editor-block-list__block .wp-block-cover h2 {
 	font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, sans-serif;
 	font-size: 2em;
+	font-weight: 300;
 }
 
 /* File */
@@ -619,12 +623,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;
 }
 

+ 1 - 1
toujours/style.css

@@ -4,7 +4,7 @@ Theme URI: http://wordpress.com/themes/toujours/
 Author: Automattic
 Author URI: http://automattic.com/
 Description: Toujours has a simple, elegant design that's perfect for planning and sharing moments from your wedding. The theme highlights your content with a slideshow, large featured images, and a unique layout for recent posts.
-Version: 1.1.1-wpcom
+Version: 1.1.2-wpcom
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: toujours