Give Collections and Gleanings the full treatment

This commit is contained in:
benjamin melançon 2019-10-01 13:53:11 -04:00
parent c15b9350a5
commit 61aaa540eb

View file

@ -3,9 +3,6 @@
.background-replacement-for-no-image {
background-color: cadetblue;
}
.page--content-item--collection .background-replacement-for-no-image {
background-color: $collection;
}
/* Front page view titles and more links get un-SMACSS targeting, sorry. */
@ -44,6 +41,24 @@
color: $white;
}
}
.page--content-item--collection .background-replacement-for-no-image,
.block-views-blockhome-page-views-block-collections .button,
.is-collection .background-replacement-for-no-image {
background-color: $collection;
color: $white;
a {
color: $white;
}
}
.page--content-item--gleaning .background-replacement-for-no-image,
.block-views-blockhome-page-views-block-gleanings .button,
.is-gleaning .background-replacement-for-no-image {
background-color: $gleaning;
color: $black;
a {
color: $black;
}
}
// Gleanings don't have the same faux-image structure (because they don't have
// featured images) but we still want the title to look about the same.