Jelajahi Sumber

Fixes for RTL and dropcaps.

Caroline Moore 6 tahun lalu
induk
melakukan
08beba9b4e
2 mengubah file dengan 11 tambahan dan 8 penghapusan
  1. 3 1
      ixion/blocks.css
  2. 8 7
      ixion/editor-blocks.css

+ 3 - 1
ixion/blocks.css

@@ -32,7 +32,9 @@ Description: Used to style Gutenberg Blocks.
 /* Paragraph */
 
 p.has-drop-cap:not(:focus)::first-letter {
-	font-size: 124px;
+	font-size: 141px;
+    line-height: 1.1;
+    margin-bottom: -40px
 }
 
 /* Images */

+ 8 - 7
ixion/editor-blocks.css

@@ -219,10 +219,9 @@
 /* Paragraph */
 
 .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
-	font-size: 124px;
-}
-
-.rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
+	font-size: 141px;
+    line-height: 1.1;
+    margin-bottom: -40px
 }
 
 /* Quote */
@@ -646,6 +645,7 @@
 	margin-bottom: 1.5em;
 }
 
+
 .wp-block-separator.is-style-wide {
 	max-width: 100%;
 }
@@ -669,15 +669,16 @@
 	text-decoration: none;
 }
 
-.wp-block-latest-comments__comment-date {
-}
-
 .wp-block-latest-comments .wp-block-latest-comments__comment {
 	border-top: 1px solid #eeece8;
 	margin-bottom: 0;
 	padding: .75em 0;
 }
 
+.rtl ol.wp-block-latest-comments {
+	margin-right: 0;
+}
+
 .wp-block-latest-comments__comment-excerpt p:last-child {
 	margin-bottom: 0;
 }