Friendly Business: Fix link color inheriting for the Cover block

This commit is contained in:
Danny Dudzic 2019-05-31 14:31:26 +02:00
parent b49b3958db
commit b2b31f7f16
5 changed files with 23 additions and 0 deletions

View file

@ -524,6 +524,11 @@
.wp-block-cover__inner-container {
padding: 0;
color: #fff;
a {
color: inherit;
}
@include media(tablet) {
max-width: calc(6 * (100vw / 12) - 28px);
}

View file

@ -281,6 +281,10 @@ figcaption,
}
}
.wp-block-cover .wp-block-cover__inner-container a {
color: inherit;
}
@media only screen and (min-width: 768px) {
.wp-block-cover {
padding-left: 10%;

View file

@ -275,6 +275,10 @@ figcaption,
}
}
.wp-block-cover__inner-container a {
color: inherit;
}
@include media(tablet) {
padding-left: 10%;
padding-right: 10%;

View file

@ -3841,6 +3841,11 @@ body.page .main-navigation {
color: #fff;
}
.entry .entry-content .wp-block-cover-image .wp-block-cover__inner-container a,
.entry .entry-content .wp-block-cover .wp-block-cover__inner-container a {
color: inherit;
}
@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-cover-image .wp-block-cover__inner-container,
.entry .entry-content .wp-block-cover .wp-block-cover__inner-container {

View file

@ -3853,6 +3853,11 @@ body.page .main-navigation {
color: #fff;
}
.entry .entry-content .wp-block-cover-image .wp-block-cover__inner-container a,
.entry .entry-content .wp-block-cover .wp-block-cover__inner-container a {
color: inherit;
}
@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-cover-image .wp-block-cover__inner-container,
.entry .entry-content .wp-block-cover .wp-block-cover__inner-container {