Browse Source

Styles for pullquotes.

Caroline Moore 6 years ago
parent
commit
6641bf14df
2 changed files with 21 additions and 5 deletions
  1. 5 0
      libretto/css/blocks.css
  2. 16 5
      libretto/css/editor-blocks.css

+ 5 - 0
libretto/css/blocks.css

@@ -206,6 +206,10 @@ p.has-drop-cap:not(:focus)::first-letter {
 	border: 0;
 }
 
+.wp-block-pullquote blockquote:before {
+	display: none;
+}
+
 .wp-block-pullquote blockquote {
 	border-top: 2px solid currentColor;
 	border-bottom: 2px solid currentColor;
@@ -216,6 +220,7 @@ p.has-drop-cap:not(:focus)::first-letter {
 }
 
 .wp-block-pullquote cite {
+	float: none;
 	font-size: 18px;
 	font-style: normal;
 }

+ 16 - 5
libretto/css/editor-blocks.css

@@ -681,18 +681,23 @@
 	font-size: 24px;
 }
 
+.wp-block-pullquote blockquote:before {
+	display: none;
+}
+
 .wp-block-pullquote {
+	color: #787065;
 	border-top: 2px solid currentColor;
 	border-bottom: 2px solid currentColor;
 	font-style: italic;
-	font-size: 24px;
-	font-weight: bold;
+	font-size: 27px;
 	margin: 0 0 1.5em;
 	padding: .75em 0;
+	text-align: center;
 }
 
 .wp-block-pullquote blockquote {
-	font-size: 24px;
+	font-size: 27px;
 }
 
 .wp-block-pullquote.alignfull blockquote {
@@ -721,9 +726,15 @@
 .wp-block-pullquote__citation,
 .wp-block-pullquote cite,
 .wp-block-pullquote footer {
-	font-style: normal;
+	color: #787065;
+	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
 	font-size: 18px;
-	text-transform: none;
+	font-style: normal;
+	font-weight: normal;
+	letter-spacing: 1px;
+	margin-top: 1em;
+	text-transform: uppercase;
+	text-align: center;
 }
 
 /* Table */