Ver código fonte

Merge pull request #539 from Automattic/fixes/126-affinity-photos-captions-fix

Multiple Themes: Update caption colours
Laurel 6 anos atrás
pai
commit
cab0da9643
2 arquivos alterados com 3 adições e 5 exclusões
  1. 1 0
      affinity/blocks.css
  2. 2 5
      photos/blocks.css

+ 1 - 0
affinity/blocks.css

@@ -21,6 +21,7 @@ Description: Used to style Gutenberg Blocks.
 /* Captions */
 
 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
+	color: inherit;
 	font-size: 13.2px;
 	font-style: italic;
 	margin-bottom: 1.6em;

+ 2 - 5
photos/blocks.css

@@ -164,7 +164,6 @@ p.has-drop-cap:not(:focus):first-letter {
 }
 
 .wp-block-image figcaption {
-	color: #606060;
 	font-size: 0.8em;
 	margin-top: 0;
 	padding-top: 0.625em;
@@ -177,10 +176,8 @@ p.has-drop-cap:not(:focus):first-letter {
 }
 
 /* Captions */
-.wp-block-image figcaption,
-.wp-block-audio figcaption,
-.wp-block-video figcaption {
-	color: #606060;
+[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
+	color: inherit;
 }
 
 /* Blockquotes*/