Skip to content

Commit 3ec8aa0

Browse files
committed
hero: equal height cards
1 parent 4b79059 commit 3ec8aa0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

_includes/home/hero.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@ <h1>Sustain</h1>
44
<h4 class="subtitle">Holding a space for conversations about sustaining Open Source</h4>
55

66
<div class="row justify-content-center">
7-
<div class="col-md-4">
7+
<div class="col-md-4 d-flex align-items-stretch">
88
<div class="card">
9-
<div class="card-body">
9+
<div class="card-body d-flex flex-column">
1010
<h3 class="card-title text-center">Listen</h3>
1111
<p class="card-text">Sustain has an official podcast, where Richard Littauer, Justin
1212
Dorfman, and other hosts talk with guests regularly about sustaining open source.
1313
</p>
14-
<a href="https://podcast.sustainoss.org/" class="btn btn-primary">Tune in</a>
14+
<a href="https://podcast.sustainoss.org/" class="btn btn-primary mt-auto align-self-center">Tune in</a>
1515
</div>
1616
</div>
1717
</div>
18-
<div class="col-md-4">
18+
<div class="col-md-4 d-flex align-items-stretch">
1919
<div class="card">
20-
<div class="card-body">
20+
<div class="card-body d-flex flex-column">
2121
<h3 class="card-title text-center">Events</h3>
2222
<p class="card-text">Sustain started as a regular event. Now, we've branched out: we not only host
2323
the main Sustain Summit, but also encourage satellite events under the sustain brand.</p>
24-
<a href="/events/" class="btn btn-primary">Learn more</a>
24+
<a href="/events/" class="btn btn-primary mt-auto align-self-center">Learn more</a>
2525
</div>
2626
</div>
2727
</div>
28-
<div class="col-md-4">
28+
<div class="col-md-4 d-flex align-items-stretch">
2929
<div class="card">
30-
<div class="card-body">
30+
<div class="card-body d-flex flex-column">
3131
<h3 class="card-title text-center">Working Groups</h3>
3232
<p class="card-text">Sustainers who've attended Sustain Summits are working hard to produce
3333
content to help other members of the ecosystem sustain their software in the long haul.</p>
34-
<a href="/working-groups/" class="btn btn-primary">Take a look</a>
34+
<a href="/working-groups/" class="btn btn-primary mt-auto align-self-center">Take a look</a>
3535
</div>
3636
</div>
3737
</div>

0 commit comments

Comments
 (0)