degeneralize box

This commit is contained in:
Lorin Werthen 2016-08-30 22:48:58 +02:00
parent 5f65118621
commit 564d71285e
2 changed files with 78 additions and 74 deletions

View file

@ -2,7 +2,8 @@ a.box {
color: #000;
}
.box {
#homepage {
.box {
background-color: $box-colour;
&.highlighted {
@ -15,4 +16,5 @@ a.box {
}
}
}
}
}

View file

@ -1,4 +1,5 @@
<div class="tile is-vertical is-ancestor">
<div id="homepage">
<div class="tile is-vertical is-ancestor">
<div class="tile is-parent is-12">
<%= render '/partials/_tile.*', article: all_events[0] %>
</div>
@ -76,4 +77,5 @@
</div>
</div>
</div>
</div>
</div>