From cb5043b0ab76b4a85716508d1828c6dd6a40258d Mon Sep 17 00:00:00 2001 From: Simon Mackie Date: Wed, 4 Mar 2015 17:59:19 +0000 Subject: [PATCH] Fix to gradient --- css/style.css | 2 +- scss/_ad3_anim.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index c169f07..6e51182 100644 --- a/css/style.css +++ b/css/style.css @@ -337,7 +337,7 @@ aside > article:nth-of-type(2), /* Gradient syntax for WebKit */ background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 0, transparent 37%, transparent 83%, rgba(0, 0, 0, 0.06) 92%, transparent 98%); /* Unprefixed W3C syntax */ - background-image: linear-gradient(top, rgba(0, 0, 0, 0.4) 0, transparent 37%, transparent 83%, rgba(0, 0, 0, 0.06) 92%, transparent 98%); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0, transparent 37%, transparent 83%, rgba(0, 0, 0, 0.06) 92%, transparent 98%); background-position: 0 0; background-repeat: no-repeat; padding-bottom: 10px; } diff --git a/scss/_ad3_anim.scss b/scss/_ad3_anim.scss index 341088b..ecd44e4 100644 --- a/scss/_ad3_anim.scss +++ b/scss/_ad3_anim.scss @@ -11,7 +11,7 @@ rgba(0,0,0,0) 98%); /* Unprefixed W3C syntax */ background-image: - linear-gradient(top, + linear-gradient(to bottom, rgba(0,0,0,0.4) 0, rgba(0,0,0,0) 37%, rgba(0,0,0,0) 83%,