diff --git a/web/themes/custom/geofresco/src/global/_paint.scss b/web/themes/custom/geofresco/src/global/_paint.scss index a0aac7c..aa8af23 100644 --- a/web/themes/custom/geofresco/src/global/_paint.scss +++ b/web/themes/custom/geofresco/src/global/_paint.scss @@ -1,16 +1,4 @@ -// Gleanings don't have the same faux-image structure (because they'll never -// 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; -} +/* All classes that are mostly about adding color. */ .background-replacement-for-no-image { background-color: cadetblue; @@ -38,6 +26,7 @@ } } +.page--content-item--article .background-replacement-for-no-image, .block-views-blockhome-page-views-block-articles .button, .is-article .background-replacement-for-no-image { background-color: $article; @@ -46,6 +35,7 @@ color: $white; } } +.page--content-item--blog .background-replacement-for-no-image, .block-views-blockhome-page-views-block-blogs .button, .is-blog .background-replacement-for-no-image { background-color: $blog; @@ -54,3 +44,9 @@ 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; +}