summaryrefslogtreecommitdiff
path: root/docs/js/shards.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-25 23:32:28 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-25 23:32:28 +0100
commit218fcf63364a1008de200d2f28aff4c94a5a87a7 (patch)
tree9c9366a45e7f0a3ffb762f98ed56f8e480033a3a /docs/js/shards.js
parentcad57f530bf293399c35b58e660470101d1f188e (diff)
site
Diffstat (limited to 'docs/js/shards.js')
-rw-r--r--docs/js/shards.js4
1 files changed, 2 insertions, 2 deletions
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)