update event tiles
This commit is contained in:
parent
8fcdf60f8a
commit
2cdb0e47b5
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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] %>;">
|
||||
|
|
Loading…
Reference in a new issue