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;
|
color: $text;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: rgba($tertiary, 0.2);
|
// background: rgba($tertiary, 0.2);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<% if @event[:banner] %>
|
<% if @event[:banner] %>
|
||||||
<a href="<%= @event.path %>" class="tile event-tile is-child box backgroundimg highlighted"
|
<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] %>
|
<% elsif @event[:color] %>
|
||||||
<a href="<%= @event.path %>" class="tile event-tile is-child box backgroundimg highlighted"
|
<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] %>;">
|
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