From af74487a66106216925538929990ea31216a94e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Fri, 14 Dec 2018 22:39:41 -0500 Subject: [PATCH] OK so it was doing something all along... ... i just didn't notice the problematic thing until i started applying transparency to headers of non-blue colors i guess? Revert "Delete code that was commented out before i accidentally uncommented it" This reverts commit 8a43d60d4467c6c93067583be12399b0f1add868. --- agaric/sass/agaric/_component.hero.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/agaric/sass/agaric/_component.hero.scss b/agaric/sass/agaric/_component.hero.scss index 65811f5..1206c3d 100644 --- a/agaric/sass/agaric/_component.hero.scss +++ b/agaric/sass/agaric/_component.hero.scss @@ -17,6 +17,18 @@ background-position: center; background-size: cover; background-repeat: no-repeat; + &::before { + position: absolute; + display: block; + top: 0; + right: 0; + left: 0; + height: 11em; + content: ""; + background: -webkit-linear-gradient(top, rgba(13,30,52,1) 25%,rgba(13,30,52,0) 100%); + background: -moz-linear-gradient(top, rgba(13,30,52,1) 25%, rgba(13,30,52,0) 100%); + background: linear-gradient(to bottom, rgba(13,30,52,1) 25%,rgba(13,30,52,0) 100%); + } a .icon { color: $dandelion; }