prettyyyyyy

This commit is contained in:
Eloïse Piret 2017-02-08 11:25:06 +01:00
parent ec25ef932f
commit c48d005e91
3 changed files with 6 additions and 2 deletions

View file

@ -108,3 +108,7 @@ a.box {
.description{
font-weight: bold;
}
.backgroundimg{
Background-position: center;
}

View file

@ -10,7 +10,7 @@
<div class="tile">
<!--top coders -->
<div class="tile is-parent is-4">
<div class="tile is-child box highlighted">
<div class="tile is-child box ">
<div class="content">
<h1 class="has-text-centered"><a href="https://zeus.ugent.be/game">Top Zeus WPI coders this week</a></h1>
<div id="gamification-coders" >

View file

@ -1,4 +1,4 @@
<a href="<%= @article.path %>" class="tile is-child box <%= @htmlclass %>"
<a href="<%= @article.path %>" class="tile is-child box backgroundimg <%= @htmlclass %>"
style="background-image:url('<%= @article[:banner] %>');">
<div class="content" >
<div class="columns">