fix gradients?

This commit is contained in:
Lorin Werthen 2018-04-23 13:08:20 +02:00
parent e6688019b1
commit 8b9107f809
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0

View file

@ -18,7 +18,7 @@
<section class="hero is-medium is-primary is-bold" style="background-image:url('<%= item[:banner] %>');background-position:center;">
<% elsif item[:color] %>
<% gradient = if item[:gradient].nil? || item[:gradient]
'linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60))'
'linear-gradient(141deg,rgba(255,255,255,0),rgba(0,0,0,.60))'
else
'none'
end %>