make more use of bulma variables

This commit is contained in:
Lorin Werthen 2016-11-06 00:22:37 +01:00
parent 833a490ccc
commit 0e2afe07b6
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
4 changed files with 5 additions and 11 deletions

View file

@ -2,10 +2,6 @@
text-align: justify;
}
html, .footer {
background-color: white;
}
.hero {
background-position: center;
background-size: cover;

View file

@ -2,6 +2,9 @@
$zeus-orange: #FF7F00;
$zeus-blue: #00C4FF;
$background: white;
$body-background: $background;
$tile-orange: #ff9f1a;
$navbar-border-color: #CCC;

View file

@ -18,7 +18,7 @@
</div>
<div class="tile">
<div class="tile is-parent is-4">
<%= render '/partials/_tile.*', article: upcoming_events[0], small_text: "Upcoming event" %>
<%= render '/partials/_tile.*', article: upcoming_events[0] || all_events[-1], small_text: "Upcoming event" %>
</div>
<div class="tile is-parent is-4">
<div class="tile is-child box centering">
@ -48,9 +48,7 @@
</div>
<div class="tile is-vertical">
<div class="tile is-parent">
<% if upcoming_events[1] %>
<%= render '/partials/_tile.*', article: upcoming_events[1], small_text: "Upcoming event" %>
<% end %>
<%= render '/partials/_tile.*', article: upcoming_events[1] || all_events[-2], small_text: "Upcoming event" %>
</div>
</div>
</div>

View file

@ -25,9 +25,6 @@
<%= asset :js, :tipuesearch %>
<%= asset :js, :search %>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!-- Google Analytics -->
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;