소스 검색

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

Multiple Themes: Update caption colours
Laurel 6 년 전
부모
커밋
cab0da9643
2개의 변경된 파일3개의 추가작업 그리고 5개의 파일을 삭제
  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 */
 /* Captions */
 
 
 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
 [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
+	color: inherit;
 	font-size: 13.2px;
 	font-size: 13.2px;
 	font-style: italic;
 	font-style: italic;
 	margin-bottom: 1.6em;
 	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 {
 .wp-block-image figcaption {
-	color: #606060;
 	font-size: 0.8em;
 	font-size: 0.8em;
 	margin-top: 0;
 	margin-top: 0;
 	padding-top: 0.625em;
 	padding-top: 0.625em;
@@ -177,10 +176,8 @@ p.has-drop-cap:not(:focus):first-letter {
 }
 }
 
 
 /* Captions */
 /* 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*/
 /* Blockquotes*/