From 13f5a825404f086b93d7939ec13b12959cff451a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 30 Sep 2019 19:48:16 -0400 Subject: [PATCH] Tweak no-image color background heights on full nodes at larger screen sizes --- web/themes/custom/geofresco/src/global/_layout.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/themes/custom/geofresco/src/global/_layout.scss b/web/themes/custom/geofresco/src/global/_layout.scss index d05cc9e..f3a9145 100644 --- a/web/themes/custom/geofresco/src/global/_layout.scss +++ b/web/themes/custom/geofresco/src/global/_layout.scss @@ -39,10 +39,21 @@ } } +/* On content listing pages (e.g. card view mode). */ .background-replacement-for-no-image { height: 10rem; background-color: cadetblue; } +/* On full content pages. */ +.featured-image .background-replacement-for-no-image { + height: 12rem; + @include from($desktop) { + height: 14rem; + } + @include from($widescreen) { + height: 16rem; + } +} // 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.