Commit 854b01ad authored by Olga Brani's avatar Olga Brani

Center usecase image in responsive layout

parent 878785c3
......@@ -378,6 +378,9 @@ header {
h2 {
margin-bottom: 1em;
}
.img-wrap {
text-align: center;
}
img {
margin: 0 0 1em;
@media #{$medium-up} {
......
......@@ -8,9 +8,11 @@ layoutCls: usecases
<ul>
{% for u in site.data.usecases %}
<li>
<a href="{{ u.url }}" title="{{ u.title }}" target="_blank">
<img src="{{ u.img_src | prepend: site.baseurl }}" alt="{{ u.title }}"/>
</a>
<div class="img-wrap">
<a href="{{ u.url }}" title="{{ u.title }}" target="_blank">
<img src="{{ u.img_src | prepend: site.baseurl }}" alt="{{ u.title }}"/>
</a>
</div>
<h2><a href="{{ u.url }}" title="{{ u.title }}" target="_blank">{{ u.title }}</a></h2>
<p>{{u.description}}</p>
</li>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment