From ddc794771350c5bdb689846f4614f1f945b2f3ed Mon Sep 17 00:00:00 2001 From: rayelliott Date: Mon, 1 Jun 2020 20:36:25 +0000 Subject: [PATCH] update --- src/scss/_featured.scss | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/src/scss/_featured.scss b/src/scss/_featured.scss index 9e62b6c..0cd4206 100644 --- a/src/scss/_featured.scss +++ b/src/scss/_featured.scss @@ -1,19 +1,48 @@ body.rwavw-custom { .widget.rwavw-feature-sunset { - .pure-g > div:first-child { - padding-right: 44px; - display: flex; - flex-direction: column; - justify-content: center; + .pure-g { + > div:first-child { + z-index: 5; + padding-right: 44px; + display: flex; + flex-direction: column; + justify-content: center; + } + + > div:last-child { + z-index: 10; + } } .h2, h3, h4, h5, h6 { + position: relative; font-weight: 400; text-align: right !important; color: #000a38; margin-top: 0; margin-bottom: 44px; + + &::before { + $color: rgb(3, 41, 109); + z-index: -1; + content: ''; + display: block; + position: absolute; + width: 230%; + height: 300%; + top: 48px; + left: -22px; + + border-radius: 3px; + + // background-color: rgba(#000, 0.05); + background-image: linear-gradient( + 140deg, + rgba($color, 0.01), + rgba($color, 0.05) + ); + } } p {