Makes sponsor logos nicer
This commit is contained in:
		
							parent
							
								
									41a6ab1276
								
							
						
					
					
						commit
						e364d5fafa
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		|  | @ -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 }}"> | ||||
|  |  | |||
|  | @ -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); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer