소스 검색

Photos: Update block caption colour; see #459.

Laurel Fulford 6 년 전
부모
커밋
b3cf4affbf
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      photos/blocks.css

+ 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*/