fixed background and added gradient

This commit is contained in:
Rushil Umaretiya 2020-09-30 02:16:13 -04:00
parent 0c274fa0a1
commit 07f50b2788
3 changed files with 6 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;