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

View file

@ -112,8 +112,16 @@ $homepage-block-min-height: 480px;
position: relative; position: relative;
box-shadow: $box-shadow; box-shadow: $box-shadow;
z-index: 3; 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 { .homepage-block-content {
min-height: ($homepage-block-min-height - 80px); min-height: ($homepage-block-min-height - 80px);
} }