Jelajahi Sumber

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

Laurel Fulford 6 tahun lalu
induk
melakukan
b81f87844c
2 mengubah file dengan 18 tambahan dan 4 penghapusan
  1. 17 3
      ixion/editor-blocks.css
  2. 1 1
      ixion/style.css

+ 17 - 3
ixion/editor-blocks.css

@@ -20,14 +20,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: #192930;
 	font-family: "Cooper Hewitt", "Helvetica Neue", Helvetica, Arial, sans-serif;
 	font-size: 18px;
 	line-height: 1.875;
 }
 
+.edit-post-visual-editor .editor-block-list__block {
+	color: #192930;
+}
+
 .alignleft {
 	display: inline;
 	float: left;
@@ -311,6 +314,17 @@
 	font-size: 80%;
 }
 
+/* Cover */
+
+.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-size: 2.0em; /* Cover images inherit the paragraph size; this resets it */
+}
+
 /* File */
 
 .wp-block-file__textlink {
@@ -526,7 +540,7 @@
 	border: 0;
 }
 
-.edit-post-visual-editor .wp-block-pullquote p:not(.wp-block-cover-text) {
+.edit-post-visual-editor .wp-block-pullquote p {
 	font-size: 24px;
 }
 

+ 1 - 1
ixion/style.css

@@ -4,7 +4,7 @@ Theme URI: http://wordpress.com/themes/ixion/
 Author: Automattic
 Author URI: http://wordpress.com/themes/
 Description: A theme for non-profits, organizations, and schools.
-Version: 1.1.3-wpcom
+Version: 1.1.4-wpcom
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: ixion