浏览代码

Varia: Remove color overrides for media and text

Ben Dwyer 4 年之前
父节点
当前提交
d60b3f2520
共有 3 个文件被更改,包括 0 次插入17 次删除
  1. 0 4
      barnsbury/style-rtl.css
  2. 0 4
      barnsbury/style.css
  3. 0 9
      varia/sass/blocks/media-text/_style.scss

+ 0 - 4
barnsbury/style-rtl.css

@@ -2013,10 +2013,6 @@ dd {
 	margin-bottom: 0;
 }
 
-.wp-block-media-text[class*="background-color"]:not(.has-background-background-color) .wp-block-media-text__content a, .wp-block-media-text[style*="background-color"] .wp-block-media-text__content a {
-	color: currentColor;
-}
-
 @media only screen and (min-width: 560px) {
 	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
 		padding-top: 32px;

+ 0 - 4
barnsbury/style.css

@@ -2013,10 +2013,6 @@ dd {
 	margin-bottom: 0;
 }
 
-.wp-block-media-text[class*="background-color"]:not(.has-background-background-color) .wp-block-media-text__content a, .wp-block-media-text[style*="background-color"] .wp-block-media-text__content a {
-	color: currentColor;
-}
-
 @media only screen and (min-width: 560px) {
 	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
 		padding-top: 32px;

+ 0 - 9
varia/sass/blocks/media-text/_style.scss

@@ -26,15 +26,6 @@
 		}
 	}
 
-	&[class*="background-color"]:not(.has-background-background-color),
-	&[style*="background-color"] {
-		.wp-block-media-text__content {
-			a {
-				color: currentColor;
-			}
-		}
-	}
-
 	/**
 	 * Block Options
 	 */