Browse Source

Couroire: Blog Posts block style tweak

Takashi Irie 5 years ago
parent
commit
78c68f533f
2 changed files with 50 additions and 0 deletions
  1. 23 0
      coutoire/sass/style-child-theme-editor.scss
  2. 27 0
      coutoire/style-editor.css

+ 23 - 0
coutoire/sass/style-child-theme-editor.scss

@@ -40,3 +40,26 @@ body {
 	font-weight: 300;
 }
 
+.wp-block-a8c-blog-posts {
+	.entry-title a:hover {
+		text-decoration: none;
+	}
+
+	.more-link {
+		text-decoration-color: map-deep-get($config-global, "color", "primary", "hover");
+		&:hover {
+			color: inherit;
+		}
+	}
+
+	.entry-meta {
+		text-transform: uppercase;
+		font-weight: 500;
+		letter-spacing: .1em;
+	}
+}
+
+.wp-block-a8c-blog-posts + .button {
+	border-radius: 0;
+	text-transform: uppercase;
+}

+ 27 - 0
coutoire/style-editor.css

@@ -311,6 +311,10 @@ object {
 	padding: 32px;
 }
 
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image .cat-links {
+	color: #fff;
+}
+
 .wp-block-a8c-blog-posts.image-alignbehind .post-has-image a:hover {
 	color: currentColor;
 }
@@ -1231,3 +1235,26 @@ html,
 body {
 	font-weight: 300;
 }
+
+.wp-block-a8c-blog-posts .entry-title a:hover {
+	text-decoration: none;
+}
+
+.wp-block-a8c-blog-posts .more-link {
+	text-decoration-color: #FF7A5C;
+}
+
+.wp-block-a8c-blog-posts .more-link:hover {
+	color: inherit;
+}
+
+.wp-block-a8c-blog-posts .entry-meta {
+	text-transform: uppercase;
+	font-weight: 500;
+	letter-spacing: .1em;
+}
+
+.wp-block-a8c-blog-posts + .button {
+	border-radius: 0;
+	text-transform: uppercase;
+}