Browse Source

Styles for dropcaps.

Caroline Moore 6 years ago
parent
commit
0d4917fd29
2 changed files with 6 additions and 2 deletions
  1. 2 1
      publication/blocks.css
  2. 4 1
      publication/editor-blocks.css

+ 2 - 1
publication/blocks.css

@@ -32,7 +32,8 @@ Description: Used to style Gutenberg Blocks.
 /* Paragraph */
 
 p.has-drop-cap:not(:focus)::first-letter {
-	font-size: 70px;
+	font-family: Neuton, serif;
+	font-size: 80px;
 }
 
 /* Images */

+ 4 - 1
publication/editor-blocks.css

@@ -210,7 +210,8 @@
 /* Paragraph */
 
 .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
-	font-size: 70px;
+	font-family: Neuton, serif;
+	font-size: 80px;
 }
 
 .edit-post-visual-editor p {
@@ -350,6 +351,7 @@
 .wp-block-code {
 	background: #eee;
 	font-family: Inconsolata, monospace;
+	font-size: 16px;
 	max-width: 100%;
 	overflow: auto;
 	padding: 12px;
@@ -516,6 +518,7 @@
 .editor-block-list__block .wp-block-preformatted pre {
 	background: #eee;
 	font-family: Inconsolata, monospace;
+	font-size: 16px;
 	max-width: 100%;
 	overflow: auto;
 	padding: 12px;