Sophisticated Business: Fix link color inheriting for the Cover block
This commit is contained in:
parent
b49b3958db
commit
5e7c1de36b
5 changed files with 20 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue