Exford: Blog Posts block style tweak
This commit is contained in:
parent
f852ad1bb8
commit
7822303273
5 changed files with 152 additions and 0 deletions
|
@ -230,6 +230,38 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-newspack-blocks-homepage-articles {
|
||||
article {
|
||||
.cat-links a,
|
||||
.entry-title a:hover,
|
||||
.entry-meta a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.image-alignbehind article {
|
||||
.cat-links a:hover,
|
||||
.entry-title a:hover,
|
||||
.entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color),
|
||||
[class*="background-color"]:not(.has-background-background-color),
|
||||
[style*="background-color"] {
|
||||
.wp-block-newspack-blocks-homepage-articles article {
|
||||
.cat-links a:hover,
|
||||
.entry-title a:hover,
|
||||
.entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
*/
|
||||
|
|
|
@ -82,6 +82,42 @@ $font_size_md: map-deep-get($config-global, "font", "size", "md");
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts {
|
||||
.entry-title a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.cat-links a,
|
||||
.entry-title a:hover,
|
||||
.entry-meta a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.image-alignbehind {
|
||||
.cat-links a:hover,
|
||||
.entry-title a:hover,
|
||||
.entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color),
|
||||
[class*="background-color"]:not(.has-background-background-color),
|
||||
[style*="background-color"] {
|
||||
.wp-block-a8c-blog-posts {
|
||||
.cat-links a:hover,
|
||||
.entry-title a:hover,
|
||||
.entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts + .button {
|
||||
font-size: (strip-unit(map-deep-get($config-global, "font", "size", "sm")) + 0em);
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
@ -1277,6 +1281,38 @@ table th,
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts .entry-title a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts .cat-links a,
|
||||
.wp-block-a8c-blog-posts .entry-title a:hover,
|
||||
.wp-block-a8c-blog-posts .entry-meta a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts.image-alignbehind .cat-links a:hover,
|
||||
.wp-block-a8c-blog-posts.image-alignbehind .entry-title a:hover,
|
||||
.wp-block-a8c-blog-posts.image-alignbehind .entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .cat-links a:hover,
|
||||
.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-title a:hover,
|
||||
.has-background:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .cat-links a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-title a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-a8c-blog-posts .entry-meta a:hover,
|
||||
[style*="background-color"] .wp-block-a8c-blog-posts .cat-links a:hover,
|
||||
[style*="background-color"] .wp-block-a8c-blog-posts .entry-title a:hover,
|
||||
[style*="background-color"] .wp-block-a8c-blog-posts .entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts + .button {
|
||||
font-size: 0.83333em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
|
|
|
@ -4173,6 +4173,30 @@ p:not(.site-title) a:hover {
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-newspack-blocks-homepage-articles article .cat-links a,
|
||||
.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
.wp-block-newspack-blocks-homepage-articles article .entry-meta a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .cat-links a:hover,
|
||||
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .entry-title a:hover,
|
||||
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
||||
.has-background:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
.has-background:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
|
||||
[style*="background-color"] .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
||||
[style*="background-color"] .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
[style*="background-color"] .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
*/
|
||||
|
|
|
@ -4202,6 +4202,30 @@ p:not(.site-title) a:hover {
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-newspack-blocks-homepage-articles article .cat-links a,
|
||||
.wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
.wp-block-newspack-blocks-homepage-articles article .entry-meta a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .cat-links a:hover,
|
||||
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .entry-title a:hover,
|
||||
.wp-block-newspack-blocks-homepage-articles.image-alignbehind article .entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.has-background:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
||||
.has-background:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
.has-background:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
[class*="background-color"]:not(.has-background-background-color) .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
|
||||
[style*="background-color"] .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
||||
[style*="background-color"] .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
||||
[style*="background-color"] .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/**
|
||||
* Widgets
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue