Skip to content

Commit a9a63dc

Browse files
committed
collaborating with images different tresholds for mobile and desktop
1 parent 203d13f commit a9a63dc

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

assets/scss/_landingpage.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,14 @@
450450

451451
.sublandingpage-banner-padding-bottom {
452452
padding-bottom: 7rem;
453+
}
454+
455+
.collaberating_logo {
456+
max-width: 300px;
457+
max-height: 140px;
458+
width: 100%;
459+
@media (max-width: 992px) {
460+
max-width: 200px;
461+
max-height: 94px;
462+
}
453463
}

layouts/partials/landingpage/supportedby.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ <h3 class="section-title" style="color: #005aa7;">{{ .title | markdownify }}</h3
1313
</div>
1414

1515
{{ range .funders }}
16-
<div class="col-lg-4 col-6 my-2">
16+
<div class="col-lg-4 col-6 my-5">
1717
<a href="{{.link}}" target="_blank">
18-
<img src="{{ .image | relURL }}" class="d-block mx-auto" style="max-height: 140px; max-width: 300px;" alt="{{.alt_text}}" class="img-fluid">
18+
<img src="{{ .image | relURL }}" class="d-block mx-auto img-fluid collaberating_logo" alt="{{.alt_text}}" class="">
1919
</a>
2020
</div>
2121
{{ end }}

0 commit comments

Comments
 (0)