Jelajahi Sumber

Styles for blockquotes and pull quotes in the editor.

Caroline Moore 6 tahun lalu
induk
melakukan
1777f8e3f4
1 mengubah file dengan 10 tambahan dan 15 penghapusan
  1. 10 15
      ixion/editor-blocks.css

+ 10 - 15
ixion/editor-blocks.css

@@ -244,6 +244,7 @@
 .editor-block-list__block .wp-block-quote__citation {
 	font-style: italic;
 	font-size: inherit;
+	color: inherit;
 }
 
 .rtl .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large) {
@@ -279,6 +280,7 @@
 
 .wp-block-quote.is-large,
 .wp-block-quote.is-style-large {
+	font-style: normal;
 	margin: 0 .75em;
 	padding: 0;
 }
@@ -293,6 +295,7 @@
 .editor-block-list__block .wp-block-quote.is-large p,
 .editor-block-list__block .wp-block-quote.is-style-large p {
 	margin-bottom: .75em;
+	font-style: normal;
 }
 
 /* Audio */
@@ -520,17 +523,16 @@
 }
 
 .edit-post-visual-editor .wp-block-pullquote p:not(.wp-block-cover-text) {
-	
+	font-size: 24px;
 }
 
 .wp-block-pullquote {
-	border-top: 2px solid currentColor;
-	border-bottom: 2px solid currentColor;
+	border-top: 2px solid #d7b221;
+	border-bottom: 2px solid #d7b221;
 	font-style: italic;
 	font-size: 24px;
 	margin: 0 0 1.5em;
-	padding: .75em 0;
-	color: #767676;
+	padding: .8em 0;
 }
 
 .wp-block-pullquote blockquote {
@@ -551,9 +553,8 @@
 }
 
 .wp-block-pullquote blockquote > .editor-rich-text p {
-	color: inherit;
 	font-size: 24px;
-	margin: 0;
+	margin-bottom: .75em;
 }
 
 .wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
@@ -564,17 +565,11 @@
 .wp-block-pullquote__citation,
 .wp-block-pullquote cite,
 .wp-block-pullquote footer {
-	font-style: italic;
-	font-size: inherit;
+	font-style: normal;
+	font-size: 18px;
 	text-transform: none;
 }
 
-.wp-block-pullquote .wp-block-pullquote__citation:before {
-}
-
-.rtl .editor-block-list__block .wp-block-pullquote blockquote {
-}
-
 /* Table */
 
 .editor-block-list__block .wp-block-table__cell-content {