Skip to content

Commit cb53cb6

Browse files
authored
Enh: pyOpenSci partners page - overview on website (#280)
* Fix: add styles to page and simplify layout * Fix: partners page - add images * Fix: final text edits * Fix: ignore 429 codes - too many requests to a single server * Fix: url broken in job add * Fix: remove extra image and add alt tags * Fix: one more status code to ignore
1 parent 60908a0 commit cb53cb6

13 files changed

+266
-10
lines changed

.github/workflows/build-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
arguments: |
4141
--ignore-urls "https://fonts.googleapis.com,https://fonts.gstatic.com,_site/_posts/README/index.html"
4242
--ignore-files "/.+\/_posts\/README.md"
43-
--ignore-status-codes "403, 503, 999"
43+
--ignore-status-codes "0,403, 429, 503, 999"

_data/navigation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ main:
66
- title: "About peer review"
77
icon:
88
url: "/about-peer-review/index.html"
9+
- title: "Community partners"
10+
icon:
11+
url: "/partners.html"
912
- title: "Peer review guide"
1013
url: "https://www.pyopensci.org/software-peer-review/"
1114
icon: "fas fa-external-link-alt"

_pages/partners.md

Lines changed: 206 additions & 0 deletions
Large diffs are not rendered by default.

_posts/2023-09-11-community-manager-job-available.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pyOpenSci is accepting applications for a Community Manager. The Community
2727
Manager supports growth and development of an inclusive pyOpenSci community. Our vibrant community is
2828
dedicated to supporting high quality Python open source software that drives open science.
2929

30-
While our organization is global we can [only accept applications](/blog/pyOpenSci-hiring-community-manager-fall-2023.html#application-instructions) from candidates who are eligible for employment in the United States.
30+
While our organization is global we can only accept applications from candidates who are eligible for employment in the United States.
3131

3232
## About pyOpenSci
3333

_sass/minimal-mistakes.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
/* Variables */
1010
@import "minimal-mistakes/variables";
1111

12-
/* Pyos specific */
13-
@import "minimal-mistakes/pyos-main";
14-
@import "minimal-mistakes/pyos-isotope";
15-
@import "minimal-mistakes/pyos-dropdown";
16-
@import "minimal-mistakes/pyos-twitter";
17-
@import "minimal-mistakes/pyos-grid";
1812

1913
/* Mixins and functions */
2014
@import "minimal-mistakes/vendor/breakpoint/breakpoint";
@@ -47,3 +41,12 @@
4741
@import "minimal-mistakes/archive";
4842
@import "minimal-mistakes/sidebar";
4943
@import "minimal-mistakes/print";
44+
45+
46+
/* Pyos specific */
47+
@import "minimal-mistakes/pyos-main";
48+
@import "minimal-mistakes/pyos-isotope";
49+
@import "minimal-mistakes/pyos-dropdown";
50+
@import "minimal-mistakes/pyos-twitter";
51+
@import "minimal-mistakes/pyos-grid";
52+
@import "minimal-mistakes/pyos-flowing-page";

_sass/minimal-mistakes/_archive.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
}
363363

364364
@include breakpoint($small) {
365-
text-align: right;
365+
text-align: left;
366366

367367
.archive__item-teaser {
368368
float: right;
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
.pyos-section {
2+
padding: 20px;
3+
&.purple {
4+
background-color: #e2dfed; //d9d5e8; #cbc6e0;
5+
position: relative;
6+
}
7+
}
8+
9+
.swoosh {
10+
position:relative;
11+
}
12+
.swoosh.bottom {
13+
margin-top:10em;
14+
}
15+
svg.bottom {
16+
position: absolute;
17+
bottom: 0;
18+
left: 0;
19+
}
20+
21+
// .divider-purple::after {
22+
// content: "";
23+
// display: block; /* Make it a block-level element to appear below the previous content */
24+
// clear: both; /* Ensure the pseudo-element clears the floated content above it */
25+
// width: 100%;
26+
// height: auto; /* Adjust the height as needed for your divider */
27+
// background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-0.042 0.1 180.142 24.439"><g transform="matrix(1, 0, 0, 1, -18.298843383789062, -77.97396087646484)"><path style="opacity: 0.9; fill: rgb(189, 182, 214);" d="M 31.874 78.826 L 191.94 77.978 L 192.165 98.254 C 192.165 98.254 160.131 84.016 132.538 85.529 C 110.196 86.754 77.759 95.255 77.759 95.255 C 77.759 95.255 55.729 98.884 43.288 93.365 C 30.846 87.847 31.874 78.826 31.874 78.826 Z"/><path style="fill: rgb(226, 223, 237);" d="M 18.128 77.905 L 198.538 77.812 L 198.581 102.395 C 198.581 102.395 155.475 74.57 125.105 82.707 C 94.736 90.844 93.457 92.674 77.476 95.264 C 59.89 98.114 35.933 103.412 24.039 94.23 C 21.427 92.213 18.428 89.779 18.362 86.673 C 18.133 75.848 18.128 77.905 18.128 77.905 Z"/></g></svg>') no-repeat center center;
28+
// background-size: contain;
29+
// }
30+
31+
.flowing div#main {
32+
max-width: 100%;
33+
margin-right: 0!important;
34+
margin-left: 0!important;
35+
padding-left: 0!important;
36+
padding-right: 0!important;
37+
}
38+
39+
.content {
40+
max-width: 1280px;
41+
margin-right: auto;
42+
margin-left: auto;
43+
}

_sass/minimal-mistakes/_pyos-main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Grid customized styles
22

3-
3+
.flowing .archive__item-excerpt, .archive__item-excerpt {
4+
font-size: .75em!important; }
45

56
/* styles for the people grid */
67
.contrib_avatar {
115 KB
Loading
108 KB
Loading

0 commit comments

Comments
 (0)