From 33336a9b1ef7a2a0a712fc7ee64b318e8fa9a6b2 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 13 Mar 2017 22:38:34 -0400 Subject: [PATCH] =?UTF-8?q?Overlay=20intro=20image=20with=20theme=E2=80=99?= =?UTF-8?q?s=20`$accent-color`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sass/basically-basic/_intro.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_sass/basically-basic/_intro.scss b/_sass/basically-basic/_intro.scss index 1733094..244c5f5 100644 --- a/_sass/basically-basic/_intro.scss +++ b/_sass/basically-basic/_intro.scss @@ -13,6 +13,16 @@ margin-top: -3rem; /* compensate for intro top margin */ margin-bottom: 2rem; + &:before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba($accent-color, 0.25); + } + img { width: 100%; }