瀏覽代碼

Add rules for the title and fix the white text

Ben Dwyer 4 年之前
父節點
當前提交
7f7bd1fc18
共有 3 個文件被更改,包括 11 次插入2 次删除
  1. 1 2
      canard/blocks.css
  2. 9 0
      canard/editor-blocks.css
  3. 1 0
      canard/functions.php

+ 1 - 2
canard/blocks.css

@@ -362,7 +362,7 @@ hr.wp-block-separator {
 .has-white-color,
 .has-white-color:hover,
 .has-white-color:focus,
-,.has-white-color:active {
+.has-white-color:active {
 	color: #fff;
 }
 
@@ -400,4 +400,3 @@ hr.wp-block-separator {
 .has-black-background-color:active {
 	background-color: #222;
 }
-

+ 9 - 0
canard/editor-blocks.css

@@ -0,0 +1,9 @@
+/** Post Title */
+.editor-post-title__block .editor-post-title__input {
+	clear: both;
+	font-family: "Playfair Display", serif;
+	font-weight: bold;
+	margin-top: 0;
+	font-size: 39px;
+    line-height: 1.54;
+}

+ 1 - 0
canard/functions.php

@@ -145,6 +145,7 @@ if ( ! function_exists( 'canard_setup' ) ) :
 			array(
 				'style.css',
 				'blocks.css',
+				'editor-blocks.css',
 				canard_pt_serif_playfair_display_font_url(),
 				canard_lato_inconsolata_fonts_url(),
 				'/genericons/genericons.css',