Consolidate article and blog color styles
This commit is contained in:
parent
c15ff271bc
commit
c15b9350a5
1 changed files with 9 additions and 13 deletions
|
@ -1,16 +1,4 @@
|
||||||
// Gleanings don't have the same faux-image structure (because they'll never
|
/* All classes that are mostly about adding color. */
|
||||||
// have a featured image) but we still want the title to look about the same.
|
|
||||||
.page--content-item--gleaning .page-title {
|
|
||||||
background-color: $gleaning;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page--content-item--article .background-replacement-for-no-image {
|
|
||||||
background-color: $article;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page--content-item--blog .background-replacement-for-no-image {
|
|
||||||
background-color: $blog;
|
|
||||||
}
|
|
||||||
|
|
||||||
.background-replacement-for-no-image {
|
.background-replacement-for-no-image {
|
||||||
background-color: cadetblue;
|
background-color: cadetblue;
|
||||||
|
@ -38,6 +26,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page--content-item--article .background-replacement-for-no-image,
|
||||||
.block-views-blockhome-page-views-block-articles .button,
|
.block-views-blockhome-page-views-block-articles .button,
|
||||||
.is-article .background-replacement-for-no-image {
|
.is-article .background-replacement-for-no-image {
|
||||||
background-color: $article;
|
background-color: $article;
|
||||||
|
@ -46,6 +35,7 @@
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.page--content-item--blog .background-replacement-for-no-image,
|
||||||
.block-views-blockhome-page-views-block-blogs .button,
|
.block-views-blockhome-page-views-block-blogs .button,
|
||||||
.is-blog .background-replacement-for-no-image {
|
.is-blog .background-replacement-for-no-image {
|
||||||
background-color: $blog;
|
background-color: $blog;
|
||||||
|
@ -54,3 +44,9 @@
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
.page--content-item--gleaning .page-title {
|
||||||
|
background-color: $gleaning;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue