Changeset - 7fdeb0f81298
[Not reviewed]
Merge
0 2 0
Christopher Neugebauer - 6 years ago 2017-08-31 00:16:22
chrisjrn@gmail.com
Merge branch 'master' into prod
2 files changed with 22 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/static_pages/homepage.html
Show inline comments
...
 
@@ -118,2 +118,3 @@
 
                  <div class="sponsor">
 
                    <div class="logo-alignment">
 
                      {% if sponsor.website_logo %}
...
 
@@ -125,2 +126,3 @@
 
                      {% endif %}
 
                    </div>
 
                  </div>
static/scss/custom.scss
Show inline comments
...
 
@@ -129,2 +129,3 @@ $homepage-block-min-height: 480px;
 
  .sponsor {
 
    $sponsor-height: 150px;
 
    @include make-xs-column(6);
...
 
@@ -133,2 +134,21 @@ $homepage-block-min-height: 480px;
 
    max-width: 600px;
 
    height: $sponsor-height;
 

	
 

	
 
    .logo-alignment {
 
      max-width: 300px;
 
      width: 100%;
 
      height: 100%;
 

	
 
      // Center the icon horizontally and vertically
 
      text-align: center;
 
      line-height: ($sponsor-height - 5px);
 
      vertical-align: middle;
 

	
 
      a img {
 
        max-width: 100%;
 
        max-height: 100%;
 
      }
 
    }
 

	
 
  }
...
 
@@ -283,4 +303,2 @@ $homepage-block-min-height: 480px;
 
.sponsor-list a img {
 
  width: 100%;
 
  max-width: 300px;
 
}
0 comments (0 inline, 0 general)