update event tiles

This commit is contained in:
Lorin Werthen 2017-12-16 18:20:55 +01:00
parent 8fcdf60f8a
commit 2cdb0e47b5
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ $top_coder_size: 80px;
color: $text;
height: 100%;
width: 100%;
background: rgba($tertiary, 0.2);
// background: rgba($tertiary, 0.2);
display: flex;
align-items: center;
justify-content: center;

View file

@ -1,6 +1,6 @@
<% if @event[:banner] %>
<a href="<%= @event.path %>" class="tile event-tile is-child box backgroundimg highlighted"
style="background-image:url('<%= @event[:banner] %>');">
style="background-image:linear-gradient(rgba(0,0,0,0.2), rgba(0, 0, 0, 0.65)), url('<%= @event[:banner] %>');">
<% elsif @event[:color] %>
<a href="<%= @event.path %>" class="tile event-tile is-child box backgroundimg highlighted"
style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color:<%= @event[:color] %>;">