Hever: Blog Posts block style tweak
This commit is contained in:
parent
7822303273
commit
3753783913
5 changed files with 161 additions and 1 deletions
|
@ -241,6 +241,36 @@ table,
|
|||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Hentry
|
||||
*/
|
||||
|
|
|
@ -39,8 +39,50 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts {
|
||||
.entry-title a {
|
||||
color: inherit;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: #{map-deep-get($config-global, "color", "primary", "default")};
|
||||
}
|
||||
}
|
||||
|
||||
.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", "base")) + 0em);
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
*/
|
||||
@import "full-site-editing-editor";
|
||||
@import "full-site-editing-editor";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
@ -1233,6 +1237,42 @@ table th,
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts .entry-title a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.wp-block-a8c-blog-posts .entry-title a:active, .wp-block-a8c-blog-posts .entry-title a:focus, .wp-block-a8c-blog-posts .entry-title a:hover {
|
||||
color: #1279BE;
|
||||
}
|
||||
|
||||
.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: 1em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Full Site Editing
|
||||
* - Full Site Editing overrides
|
||||
|
|
|
@ -4173,6 +4173,30 @@ table th,
|
|||
border-color: #C5C5C5;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hentry
|
||||
*/
|
||||
|
|
|
@ -4202,6 +4202,30 @@ table th,
|
|||
border-color: #C5C5C5;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hentry
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue