Bladeren bron

Club: adding quote styles (#6336)

* Club: adding quote styles

* Club: adding a hyphen before quote cite element
Matias Benedetto 3 jaren geleden
bovenliggende
commit
9d37e88458
2 gewijzigde bestanden met toevoegingen van 19 en 3 verwijderingen
  1. 17 0
      club/style.css
  2. 2 3
      club/theme.json

+ 17 - 0
club/style.css

@@ -172,6 +172,23 @@ a {
 	text-decoration: none;
  }
 
+/*
+ * Quote
+ */
+.wp-block-quote p {
+	margin-bottom: 0
+}
+
+.wp-block-quote cite {
+	font-style: normal;
+	font-size: var(--wp--preset--font-size--small);
+}
+
+.wp-block-quote cite::before {
+	content: "— ";
+}
+
+
 /*
  * Alignment styles, borrowed from Twenty Twenty-Two.
  * These rules are temporary, and should not be relied on or

+ 2 - 3
club/theme.json

@@ -345,9 +345,8 @@
             },
             "core/quote": {
                 "border": {
-                    "color": "var(--wp--preset--color--primary)",
                     "style": "solid",
-                    "width": "0 0 0 1px"
+                    "width": "0"
                 },
                 "spacing": {
                     "padding": {
@@ -355,7 +354,7 @@
                     }
                 },
                 "typography": {
-                    "fontSize": "1.125rem",
+                    "fontSize": "var(--wp--preset--font-size--large)",
                     "fontStyle": "normal"
                 }
             },