瀏覽代碼

Barnsbury: Blog Posts style tweak

Takashi Irie 5 年之前
父節點
當前提交
fac9459de8
共有 2 個文件被更改,包括 28 次插入0 次删除
  1. 16 0
      barnsbury/sass/style-child-theme-editor.scss
  2. 12 0
      barnsbury/style-editor.css

+ 16 - 0
barnsbury/sass/style-child-theme-editor.scss

@@ -65,3 +65,19 @@
 		margin-top: map-deep-get($config-global, "spacing", "unit");
 	}
 }
+
+.wp-block-a8c-blog-posts {
+	.entry-title a {
+		color: inherit;
+
+		&:hover,
+		&:focus,
+		&:active {
+			color: map-deep-get($config-global, "color", "primary", "default");
+		}
+	}
+
+	&.image-alignbehind .post-has-image a:hover {
+		color: #fff;
+	}
+}

+ 12 - 0
barnsbury/style-editor.css

@@ -1251,3 +1251,15 @@ table th,
 .wp-block-latest-posts .wp-block-latest-posts__post-full-content {
 	margin-top: 16px;
 }
+
+.wp-block-a8c-blog-posts .entry-title a {
+	color: inherit;
+}
+
+.wp-block-a8c-blog-posts .entry-title a:hover, .wp-block-a8c-blog-posts .entry-title a:focus, .wp-block-a8c-blog-posts .entry-title a:active {
+	color: #20603C;
+}
+
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image a:hover {
+	color: #fff;
+}