Skip to content

Commit c2014fc

Browse files
committed
Update graphics
1 parent 7e4387c commit c2014fc

25 files changed

+31
-15
lines changed

_includes/feature_row

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
{% endif %}
1515
{% if f.image_path %}
1616
<div class="archive__item-teaser">
17-
<img src="{{ f.image_path | relative_url }}" {% if f.image_size %} style="width:{{ f.image_size }};"{% endif %}
18-
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
17+
<picture>
18+
<source srcset="{{ f.image_path | replace: '.png', '.webp' | relative_url }}" type="image/webp">
19+
<img src="{{ f.image_path | relative_url }}" {% if f.image_size %} style="width:{{ f.image_size }};"{% endif %}
20+
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
21+
</picture>
1922
{% if f.image_caption %}
2023
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
2124
{% endif %}

_pages/about-peer-review.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ benefits_maintainers:
2424
btn_label: Learn more about the benefits of peer review
2525
btn_class: btn--primary
2626
peer_review:
27-
- image_path: images/pyopensci-people-at-computer.jpg
27+
- image_path: /images/landing-pages/peer-review-people.png
2828
alt: "A pencil sketch of a round table with people sitting around it from different backgrounds working on laptops and also writing together."
2929
excerpt: "Software peer review, similar to the review of scientific papers, is a process where scientists vet software code, documentation and infrastructure. pyOpenSci leads an [open peer review process](https://www.pyopensci.org/software-peer-review/our-process/how-review-works.html) run by a community of dedicated volunteers. Reviews are supportive and fully transparent with the shared goal of improving the quality, usability and maintainability of the software that is driving open science.
3030
@@ -33,7 +33,7 @@ peer_review:
3333
url: https://www.pyopensci.org/software-peer-review/our-process/review-timeline.html
3434
btn_label: Learn more about the peer review timeline and roles
3535
btn_class: btn--primary
36-
- image_path: images/pyopensci-joss-partnership.png
36+
- image_path: images/landing-pages/pyopensci-joss-partners.png
3737
alt: "A pencil sketch of a round table with people sitting around it from different backgrounds working on laptops and also writing together."
3838
excerpt: "Our partnership with JOSS means that you don't have to choose between pyOpenSci and JOSS. Simply submit your package to pyOS for review. If your package is accepted and in scope for JOSS, it will be fast-tracked through JOSS' review process. "
3939
title: "Get a fast-track JOSS publication"

_pages/home.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ header:
1717
mission:
1818
- excerpt: "pyOpenSci broadens participation in scientific open source by breaking down social and technical barriers. Join our global community."
1919
peer-review:
20-
- image_path: images/homepage-graphics/software-peer-review.png
20+
- image_path: images/landing-pages/software-peer-review.png
2121
alt: "Light purple image that says software Peer Review. On the image is a woman at a laptop with a pyOpenSci logo on it and a cup of coffee next to her. There is a very light flower in the bottom right hand corner. "
2222
title: "We Run Software Peer Review"
2323
excerpt: "We review Python packages and software with the goal of helping scientists build better, discoverable and usable software. <br><br>
@@ -27,7 +27,7 @@ peer-review:
2727
<i class='fa-solid fa-check-double'></i> Submit a package today for review today. <br>
2828
<i class='fa-solid fa-check-double'></i> Apply to become a reviewer. <br>
2929
"
30-
- image_path: images/homepage-graphics/community-partnerships.png
30+
- image_path: images/landing-pages/community-partnerships.png
3131
alt: "Light purple image with a bunch from different backgrounds of stick figure people in a slightly darker color. The text on the image at the top says Community Partnerships"
3232
title: "We Build Community Partnerships"
3333
excerpt: "
@@ -38,7 +38,7 @@ peer-review:
3838
<i class='fa-solid fa-handshake'></i> [JOSS](https://www.pyopensci.org/software-peer-review/partners/joss.html) <br>
3939
<i class='fa-solid fa-handshake'></i> [Astropy](https://www.pyopensci.org/software-peer-review/partners/astropy.html) <br>
4040
"
41-
- image_path: images/homepage-graphics/simple-python-packaging-header.png
41+
- image_path: images/landing-pages/simple-python-packaging-header.png
4242
title: "We Break Down Python Packaging Painpoints"
4343
alt: Light purple image that says python packaging guide and below it says simplifying python packaging. The background is a grey laptop with a hand looking down at the laptop the above.
4444
excerpt: "

_pages/learn.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ header:
77
overlay_image: images/headers/pyopensci-learn-header.png
88
overlay_filter: 0.3
99
scientists:
10-
- image_path: images/pyopensci-people-at-computer.jpg
10+
- image_path: images/landing-pages/peer-review-people.png
1111
alt: "A pencil sketch of a round table with people sitting around it from different backgrounds working on laptops and also writing together."
1212
excerpt: "Our catalog of vetted open source tools makes it easier for scientists to find the trusted tools that they need to develop their open science workflows."
1313
title: "Help scientists find the open science tools that they need"
@@ -17,9 +17,9 @@ scientists:
1717
overview:
1818
- excerpt: "pyOpenSci creates resources to help you navigate the Python packaging ecosystem with ease. Our materials are community developed and go through extensive technical and pedagogical review."
1919
development:
20-
- image_path: images/pyopensci-learn-community-created.png
20+
- image_path: images/learn-graphics/community-created.png
2121
alt: "An image showing a bunch of hands holding up a sign that says Community Developed. the background is dark purple with a few green decorative items."
22-
title: "Our development process: Community-developed Python tutorials for scientists"
22+
title: "Our process: Community-developed Python tutorials"
2323
excerpt: "Our tutorials are created through a multi-stage community review process.
2424
2525
* Tutorials are developed by the pyOpenSci team or community members.
@@ -28,7 +28,7 @@ development:
2828
2929
* Before publication, tutorials then go through several rounds of community review for accuracy, usability and accessibility."
3030
whats_next:
31-
- image_path: images/pyopensci-learn-github-collaboration.png
31+
- image_path: images/learn-graphics/github-collaboration.png
3232
alt: "A graphic with a light yellow background that says essential collaboration skills for scientists - using GitHub. On the right there is a man and a woman sitting at a tall table with laptops working."
3333
excerpt: "Through the [Better Software for Science Fellowship](https://bssw.io/pages/bssw-fellowship-program) we will be developing lessons focused on teaching core GitHub collaboration skills needed for both contributing to open source software and for working in an open science team environment.
3434

_posts/2025-03-05-pyOpenSci-first-open-science-festival.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ Using the interactive platform SpatialChat rather than a traditional online plat
7373
We kicked the event off on Monday, October 28, with a morning of KeyNote talks headlined by **Eric Ma, Melissa Mendonça, and Rowan Cockett**. The Monday talks aligned perfectly with the training events held Tuesday through Friday. The talks set the stage for a truly engaging week of learning together.
7474

7575
<figure class="align-center">
76+
<picture>
7677
<source srcset="/images/events/fall-festival-blog-keynote-speakers.webp" type="image/webp">
7778
<img src="/images/events/fall-festival-blog-keynote-speakers.png" alt="">
79+
</picture>
7880
</figure>
7981

8082

_posts/2025-03-13-python-packaging-security-pypi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ To lock down a GitHub environment:
104104
105105
106106
<figure>
107+
<picture>
107108
<source srcset="{{ post.url | relative_url }}/images/python-packaging/github-action-environment-pypi.webp" type="image/webp">
108109
<img src="{{ post.url | relative_url }}/images/python-packaging/github-action-environment-pypi.png" alt="Screenshot of the GitHub settings interface showing the ‘Environments’ section with configuration options for ‘pypi.’ The ‘Deployment protection rules’ section is visible, with ‘Required reviewers’ enabled and two reviewers listed: ‘lwasser’ and ‘willingc.’ Other options such as ‘Prevent self-review’ and ‘Wait timer’ are present but not enabled.">
110+
</picture>
109111
<figcaption>
110112
GitHub environment settings for “pypi,” displaying deployment protection rules with required reviewers configured for workflow approvals.
111113
</figcaption>
@@ -123,8 +125,10 @@ A Trusted Publisher setup creates a secure link between PyPI and your repository
123125
Using a Trusted Publisher combined with a locked-down environment eliminates the need to store sensitive tokens as GitHub secrets. It also removes the need to refresh and update tokens periodically to avoid token leaks or theft issues.
124126
125127
<figure>
128+
<picture>
126129
<source srcset="{{ post.url | relative_url }}/images/python-packaging/trusted-publisher-pypi-github.webp" type="image/webp">
127130
<img src="{{ post.url | relative_url }}/images/python-packaging/trusted-publisher-pypi-github.png" alt="A workflow diagram showing GitHub Actions building distribution files (sdist and wheel), publishing them securely to PyPI, represented as a warehouse. The diagram includes a lock icon emphasizing security, with the pyOpenSci logo in the top-left corner.">
131+
</picture>
128132
<figcaption>
129133
Example of the PyPI Trusted Publisher form, used to securely link a GitHub repository with PyPI for publishing Python packages. Trusted Publisher reduces the risk of token theft and improves overall security.
130134
</figcaption>

_sass/minimal-mistakes/_buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
a.btn.btn--large {
104104
line-height: 1.1;
105105
padding: .5rem;
106-
width: 90%;
106+
width: 100%; // this was set to 90% but made tutorial buttons short.
107107
font-size: 1.5rem!important;
108108
}
109109
}

_sass/minimal-mistakes/_pyos-cards.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@
5656
color: $pyos-deeppurple!important;
5757
font-size: 1.4rem;
5858
margin: 0;
59-
font-family: $sans-serif;
60-
font-weight: 600;
59+
font-weight: 600; //card titles should be lower weight
6160
}
6261
.title-block {
6362
background-color: #ecbee3;

_sass/minimal-mistakes/_pyos-flowing-page.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ svg.bottom {
4545
// Add padding to non feature wrapper sections
4646
.feature__wrapper.padded {
4747
padding: 0 30px;
48-
4948
}
5049

5150
.page__content .feature__wrapper.padded {
@@ -56,3 +55,12 @@ svg.bottom {
5655
font-size: 2rem;
5756
}
5857
}
58+
59+
60+
// Adjust padding for mobile
61+
@media (max-width: 480px) {
62+
.feature__wrapper.padded {
63+
padding: 0;
64+
}
65+
66+
}

0 commit comments

Comments
 (0)