Browse Source

Barnsbury: Blog Posts style tweak

Takashi Irie 5 năm trước cách đây
mục cha
commit
fac9459de8
2 tập tin đã thay đổi với 28 bổ sung0 xóa
  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;
+}