Skip to content

Commit

Permalink
add borders and force dimensions for logos
Browse files Browse the repository at this point in the history
  • Loading branch information
phrawzty committed May 2, 2016
1 parent fbe8a6e commit f973798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2>{{ .label }} Sponsors</h2>
{{ range where $sponsors "level" .id }}
{{ $s := (index $.Site.Data.sponsors .id) }}
{{ if isset $.Site.Data.sponsors .id }}
<a href = "{{ $s.url }}"><img alt = "{{ .id }}" src = "/img/sponsors/{{ .id }}.png" class="img-responsive company-logo" width = "95px"></a>
<a href = "{{ $s.url }}"><img alt = "{{ .id }}" src = "/img/sponsors/{{ .id }}.png" class="img-responsive company-logo" height="100px" width="100px"></a>
{{ end }}
{{ end }}
<div class = "sponsor-cta">
Expand Down
4 changes: 3 additions & 1 deletion themes/devopsdays-legacy/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@

.company-logo {
float: left;
padding: 5px !important;
padding: 2px !important;
border: 1px solid #18b;
margin: 2px;
}

.sponsor-cta {
Expand Down

0 comments on commit f973798

Please sign in to comment.