Skip to content

Commit 2149ac8

Browse files
committed
match try headings to base cards
moves centering of text to try-card body
1 parent 185969a commit 2149ac8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_layouts/try.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ <h2>Try Jupyter</h2>
2727
{%- for item in site.data.try -%}
2828
<a href="{{ item['url'] }}" class="try-link">
2929
<div class="col-lg-4 col-md-6 col-sm-6 cardlist-col">
30-
<div class="cardlist-card try-card text-center">
30+
<div class="cardlist-card try-card">
3131
<div class="card-heading">
32-
<h3>{{ item['title'] }}</h3>
32+
<h4>{{ item['title'] }}</h4>
3333
</div>
34-
<div class="card-body">
34+
<div class="card-body text-center">
3535
<img class="try-logo" src="{{ site.baseurl }}/assets/try/{{ item['logo'] }}"/>
3636
<p>{{ item['description'] }}</p>
3737
</div>

css/cardlist.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ a.try-link:visited {
6666

6767
/* try cards need to be a little taller */
6868
.cardlist-card.try-card {
69-
height: 300px;
69+
height: 280px;
7070
}
7171

7272
/* shrink-to-fit logos */

0 commit comments

Comments
 (0)