From 07f50b2788667d0e5867ac9639106e9b96b05f09 Mon Sep 17 00:00:00 2001
From: Rushil Umaretiya <2023rumareti@tjhsst.edu>
Date: Wed, 30 Sep 2020 02:16:13 -0400
Subject: [PATCH] fixed background and added gradient

---
 homepage/templates/homepage/index.html | 1 -
 static/css/styles.css                  | 4 +++-
 static/css/styles.scss                 | 4 +++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/homepage/templates/homepage/index.html b/homepage/templates/homepage/index.html
index 1332a9f..9eeeb8c 100755
--- a/homepage/templates/homepage/index.html
+++ b/homepage/templates/homepage/index.html
@@ -12,7 +12,6 @@
             @media (max-width: 768px) {
               .hero {
                 background: url("{{ location.hero_mobile.url }}");
-                background-attachment: fixed;
                 background-repeat: no-repeat;
                 background-position: center center; 
                 -webkit-background-size: cover;
diff --git a/static/css/styles.css b/static/css/styles.css
index 55dfea7..2ce8f27 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -118,7 +118,9 @@ body::-webkit-scrollbar {
 
 .poll {
   color: white;
-  background-color: #4b4b4b;
+  background: #4b4b4b;
+  background: -webkit-linear-gradient(#464646, #4b4b4b);
+  background: linear-gradient(#464646, #4b4b4b);
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
diff --git a/static/css/styles.scss b/static/css/styles.scss
index 7772914..4e634ed 100755
--- a/static/css/styles.scss
+++ b/static/css/styles.scss
@@ -202,7 +202,9 @@ body::-webkit-scrollbar {
 .poll {
   color: white;
   //background-image: url("res/poll-gradient.png");
-  background-color: $darker-grey;
+  background: $darker-grey;
+  background: -webkit-linear-gradient(#464646, $darker-grey);
+  background: linear-gradient(#464646, $darker-grey);
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;