Friendly Business: Fix link color inheriting for the Cover block
This commit is contained in:
parent
b49b3958db
commit
b2b31f7f16
5 changed files with 23 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -275,6 +275,10 @@ figcaption,
|
|||
}
|
||||
}
|
||||
|
||||
.wp-block-cover__inner-container a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@include media(tablet) {
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue