Sophisticated Business: Fix link color inheriting for the Cover block

This commit is contained in:
Takashi Irie 2019-06-03 13:36:33 +01:00
parent b49b3958db
commit 5e7c1de36b
5 changed files with 20 additions and 1 deletions

View file

@ -548,6 +548,10 @@
padding: 0; padding: 0;
color: #fff; color: #fff;
a {
color: inherit;
}
@include media(tablet) { @include media(tablet) {
max-width: 100%; max-width: 100%;
margin-left: auto; margin-left: auto;

View file

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

View file

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

View file

@ -3071,7 +3071,7 @@ body.page .main-navigation {
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
.hfeed .entry .entry-header { .hfeed .entry .entry-header {
margin: calc(3 * 1rem) auto; margin-bottom: calc(3 * 1rem);
} }
} }

View file

@ -3883,6 +3883,11 @@ body.page .main-navigation {
color: #fff; 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) { @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-image .wp-block-cover__inner-container,
.entry .entry-content .wp-block-cover .wp-block-cover__inner-container { .entry .entry-content .wp-block-cover .wp-block-cover__inner-container {