Give Collections and Gleanings the full treatment
This commit is contained in:
parent
c15b9350a5
commit
61aaa540eb
1 changed files with 18 additions and 3 deletions
|
@ -3,9 +3,6 @@
|
||||||
.background-replacement-for-no-image {
|
.background-replacement-for-no-image {
|
||||||
background-color: cadetblue;
|
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. */
|
/* Front page view titles and more links get un-SMACSS targeting, sorry. */
|
||||||
|
|
||||||
|
@ -44,6 +41,24 @@
|
||||||
color: $white;
|
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
|
// 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.
|
// featured images) but we still want the title to look about the same.
|
||||||
|
|
Loading…
Add table
Reference in a new issue