Skip to content

Commit 1d95697

Browse files
committed
Fix: image size added to include
Fix: alignment of cards and color pop Fix:
1 parent ffff86e commit 1d95697

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

_includes/feature_row

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{% endif %}
1515
{% if f.image_path %}
1616
<div class="archive__item-teaser">
17-
<img src="{{ f.image_path | relative_url }}"
17+
<img src="{{ f.image_path | relative_url }}" {% if f.image_size %} style="width:{{ f.image_size }};"{% endif %}
1818
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
1919
{% if f.image_caption %}
2020
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>

_pages/packaging-resources.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ packaging-easier:
3434
All contributions are recognized both on our website and in the guidebook's citation.
3535
"
3636
url: https://github.com/pyOpenSci/python-package-guide/pulls
37-
btn_label: See what we're working on now
38-
btn_class: btn--primary
37+
btn_label: <i class="fa-solid fa-arrow-up-right-from-square"></i> See what we're working on now
38+
btn_class: btn--success
3939
community-created:
4040
- image_path: images/pyopensci-people-working-together.png
41+
image_size: 500px
4142
alt: "A group of people working on a tetris like set of building blocks, trying to stack the blocks together. "
4243
title: "Community-created Python Packaging Guide"
4344
excerpt: "
@@ -62,6 +63,7 @@ toc: false
6263

6364
{% include feature_row id="community-created" type="right" %}
6465

66+
<div class="subsection" markdown="1">
6567
### Scientific Python packaging guidebook sections
6668

6769
<div class="tutorial__container">
@@ -70,6 +72,7 @@ toc: false
7072
{% endfor %}
7173
</div>
7274

75+
</div>
7376
<div class="clearfix"></div>
7477

7578
</div>
@@ -80,7 +83,7 @@ toc: false
8083
<div class="pyos-section">
8184
<div class="content" markdown="1">
8285

83-
## Python packaging 101
86+
## Beginner friendly Python packaging tutorials
8487

8588
Beginner-friendly Python packaging tutorials that will take you through
8689
the full process of creating a Python package, following modern best
@@ -94,8 +97,6 @@ practices.
9497

9598
<div class="clearfix"></div>
9699

97-
98-
99100
</div>
100101
</div>
101102

_sass/minimal-mistakes/_pyos-cards.scss

+13
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@
5656
font-size: .9em;
5757
margin: 0 0 .5em 0;
5858
}
59+
ul {
60+
padding-right: .05em;
61+
padding-bottom: .2em;
62+
}
5963
}
6064

6165
}
@@ -64,3 +68,12 @@
6468
.btn--success{
6569
color: #000!important;
6670
}
71+
72+
73+
.subsection {
74+
padding: 0 2em;
75+
76+
h3 {
77+
padding-left: 0.5em;
78+
}
79+
}
-213 KB
Loading

0 commit comments

Comments
 (0)