Browse Source

Balasana: Blog Posts style tweak

Takashi Irie 5 years ago
parent
commit
98b075c251

+ 3 - 3
balasana/sass/_extra-child-theme.scss

@@ -24,9 +24,9 @@ $font_size_h1: map-deep-get($config-heading, "font", "size", "h1");
  * Reset
  */
 a,
-button,
-.button,
-input[type="submit"] {
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a,
+.entry-content .more-link {
 	text-decoration: none;
 
 	&:active,

+ 18 - 0
balasana/sass/style-child-theme-editor.scss

@@ -39,3 +39,21 @@
 	text-align: center;
 	font-size: (strip-unit( map-deep-get($config-heading, "font", "size", "h1") ) + 0em);
 }
+
+.wp-block-a8c-blog-posts {
+	.entry-title a {
+		color: inherit;
+	}
+
+	.cat-links a,
+	.more-link,
+	.byline a {
+		text-decoration: none;
+
+		&:active,
+		&:focus,
+		&:hover {
+			text-decoration: underline;
+		}
+	}
+}

+ 20 - 0
balasana/style-editor.css

@@ -1233,3 +1233,23 @@ table th,
 	text-align: center;
 	font-size: 2.98598em;
 }
+
+.wp-block-a8c-blog-posts .entry-title a {
+	color: inherit;
+}
+
+.wp-block-a8c-blog-posts .cat-links a,
+.wp-block-a8c-blog-posts .more-link,
+.wp-block-a8c-blog-posts .byline a {
+	text-decoration: none;
+}
+
+.wp-block-a8c-blog-posts .cat-links a:active, .wp-block-a8c-blog-posts .cat-links a:focus, .wp-block-a8c-blog-posts .cat-links a:hover,
+.wp-block-a8c-blog-posts .more-link:active,
+.wp-block-a8c-blog-posts .more-link:focus,
+.wp-block-a8c-blog-posts .more-link:hover,
+.wp-block-a8c-blog-posts .byline a:active,
+.wp-block-a8c-blog-posts .byline a:focus,
+.wp-block-a8c-blog-posts .byline a:hover {
+	text-decoration: underline;
+}

+ 12 - 12
balasana/style-rtl.css

@@ -3952,22 +3952,22 @@ body.admin-bar .widget_eu_cookie_law_widget.widget.top {
  * Reset
  */
 a,
-button,
-.button,
-input[type="submit"] {
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a,
+.entry-content .more-link {
 	text-decoration: none;
 }
 
 a:active, a:focus, a:hover,
-button:active,
-button:focus,
-button:hover,
-.button:active,
-.button:focus,
-.button:hover,
-input[type="submit"]:active,
-input[type="submit"]:focus,
-input[type="submit"]:hover {
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a:focus,
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a:active,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a:focus,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
+.entry-content .more-link:active,
+.entry-content .more-link:focus,
+.entry-content .more-link:hover {
 	text-decoration: underline;
 }
 

+ 12 - 12
balasana/style.css

@@ -3981,22 +3981,22 @@ body.admin-bar .widget_eu_cookie_law_widget.widget.top {
  * Reset
  */
 a,
-button,
-.button,
-input[type="submit"] {
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a,
+.entry-content .more-link {
 	text-decoration: none;
 }
 
 a:active, a:focus, a:hover,
-button:active,
-button:focus,
-button:hover,
-.button:active,
-.button:focus,
-.button:hover,
-input[type="submit"]:active,
-input[type="submit"]:focus,
-input[type="submit"]:hover {
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a:focus,
+.wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a:active,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a:focus,
+.wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
+.entry-content .more-link:active,
+.entry-content .more-link:focus,
+.entry-content .more-link:hover {
 	text-decoration: underline;
 }