Makes sponsor logos nicer

This commit is contained in:
Christopher Neugebauer 2017-08-15 21:15:01 -07:00
parent 41a6ab1276
commit e364d5fafa
2 changed files with 9 additions and 1 deletions

View file

@ -114,7 +114,7 @@
{% for level in levels %}
{% if level.sponsors %}
{% for sponsor in level.sponsors %}
<div class="col-md-3">
<div class="sponsor">
{% if sponsor.website_logo %}
<a href="{{ sponsor.external_url }}" title="{{ sponsor.name }}">
<img src="{% thumbnail sponsor.website_logo '600x360' %}" alt="{{ sponsor.name }}">

View file

@ -112,7 +112,15 @@ $homepage-block-min-height: 480px;
position: relative;
box-shadow: $box-shadow;
z-index: 3;
.sponsor {
@include make-xs-column(6);
@include make-sm-column(4);
@include make-md-column(3);
max-width: 600px;
}
}
.homepage-block-content {
min-height: ($homepage-block-min-height - 80px);