瀏覽代碼

Varia: Make sure links in the Media & Text blocks use the correct colour

Thomas Guillot 6 年之前
父節點
當前提交
745a0b8415
共有 3 個文件被更改,包括 6 次插入13 次删除
  1. 1 5
      varia/sass/blocks/media-text/_style.scss
  2. 5 4
      varia/style-rtl.css
  3. 0 4
      varia/style.css

+ 1 - 5
varia/sass/blocks/media-text/_style.scss

@@ -17,10 +17,6 @@
 				margin-bottom: 0;
 			}
 		}
-
-		a {
-			color: currentColor;
-		}
 	}
 
 	/**
@@ -38,4 +34,4 @@
 			padding: 0 #{map-deep-get($config-global, "spacing", "horizontal")};
 		}
 	}
-}
+}

+ 5 - 4
varia/style-rtl.css

@@ -1543,10 +1543,6 @@ dd {
 	margin-bottom: 0;
 }
 
-.wp-block-media-text .wp-block-media-text__content a {
-	color: currentColor;
-}
-
 .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
 	padding-top: 32px;
 	padding-bottom: 32px;
@@ -1722,6 +1718,11 @@ hr.is-style-dots:before {
 	padding-right: 0.83333rem;
 }
 
+.wp-block-jetpack-slideshow ul {
+	margin-right: 0;
+	margin-left: 0;
+}
+
 .wp-block-spacer {
 	display: block;
 	margin-bottom: 0;

+ 0 - 4
varia/style.css

@@ -1543,10 +1543,6 @@ dd {
 	margin-bottom: 0;
 }
 
-.wp-block-media-text .wp-block-media-text__content a {
-	color: currentColor;
-}
-
 .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
 	padding-top: 32px;
 	padding-bottom: 32px;