From 218fcf63364a1008de200d2f28aff4c94a5a87a7 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 25 Nov 2018 23:32:28 +0100 Subject: site --- docs/js/shards.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/js/shards.js') diff --git a/docs/js/shards.js b/docs/js/shards.js index bb2700c..1b374ee 100644 --- a/docs/js/shards.js +++ b/docs/js/shards.js @@ -94,9 +94,9 @@ const shards = (function(){ if (t === 1) { light = cielab.gradient(count) if (is_mobile) { - el.style.backgroundImage = 'linear-gradient(' + dark(1) + ', ' + light(1) + ')' + el.style.backgroundImage = 'linear-gradient(0deg, ' + dark(1) + ', ' + light(1) + ')' } else { - el.style.backgroundImage = 'linear-gradient(' + dark(1) + ', ' + light(0) + ')' + el.style.backgroundImage = 'linear-gradient(0deg, ' + dark(1) + ', ' + light(0) + ')' } } el.style.backgroundColor = light(1) -- cgit v1.2.3-70-g09d2