Skip to content

Commit

Permalink
Merge pull request devopsdays#172 from phrawzty/happy_logo_fun_time
Browse files Browse the repository at this point in the history
add borders and force dimensions for logos
  • Loading branch information
mattstratton committed May 2, 2016
2 parents 478a49e + f973798 commit 592388c
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 592388c

Please sign in to comment.