Skip to content

Commit 9a71568

Browse files
committed
fix: cleanup some of the styles
1 parent 49d946f commit 9a71568

File tree

8 files changed

+47
-16
lines changed

8 files changed

+47
-16
lines changed

_pages/about-peer-review.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,12 @@ editor role at pyOpenSci [in our peer review guide.](https://www.pyopensci.org/s
125125
{% assign editors = site.data.contributors | where: 'editorial_board', true %}
126126
{% assign editors = editors | sort: 'sort' %}
127127

128-
<div class="grid clean">
128+
<div class="grid">
129129
{% for aperson in editors %}
130130
{% include people-grid.html %}
131131
{% endfor %}
132+
133+
132134
</div>
133135

134136
<br clear="both">
@@ -139,7 +141,7 @@ We are deeply grateful for those served on our editorial board previously!
139141

140142
{% assign emeritus = site.data.contributors | where: 'emeritus_editor', true %}
141143

142-
<div class="grid clean">
144+
<div class="grid">
143145
{% for aperson in emeritus %}
144146
{% include people-grid.html %}
145147
{% endfor %}

_pages/home.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,13 @@ peer-review:
5757
<div class="archive__item-body">
5858
<h2 class="archive__item-title">Peer review mentorship program</h2>
5959
<div class="archive__item-excerpt">
60-
<p>We are building diverse community around the scientific packages that drive open science. We recruit and support editors and reviewers from different backgrounds and gender-identities in each review that we perform.
61-
</p>
62-
Are you new to peer review? We got you!
60+
<p>
61+
We are building diverse community around the scientific packages that drive open science. We recruit and support editors and reviewers from different backgrounds and gender-identities in each review that we perform.
62+
</p>
63+
<p>
64+
Are you new to peer review?
6365
We offer a <a href="https://www.pyopensci.org/software-peer-review/how-to/reviewer-guide.html#a-guide-for-new-reviewers">mentorship program </a> for anyone interested in participating in peer review but who might like a bit of support.
64-
66+
</p>
6567
</div>
6668
</div>
6769
</div>
@@ -71,7 +73,7 @@ peer-review:
7173

7274
{% assign new_ppl = site.data.contributors | reverse %}
7375

74-
## Latest contributors
76+
## New pyOpenSci contributors
7577

7678
<div class="entries-grid">
7779
{% for aperson in new_ppl limit:4 %}

_posts/2019-10-26-pyos-min-mistakes-theme.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,23 @@ The image below should extend outside of the parent container on right.
184184
> meaningful progress.
185185
{: .highlight-quote }
186186

187+
You can also create blockquotes using include files.
188+
Below is a green and magenta version of the same quote
189+
190+
```
191+
{% include pyos-blockquote.html quote="[*I want to... *] Streamline the development of good quality, socially responsible, and easily shareable software." author="Anonymous" event="AGU 2019 Townhall" class="highlight magenta" %}
192+
```
193+
194+
{% include pyos-blockquote.html quote="[*I want to... *] Streamline the development of good quality, socially responsible, and easily shareable software." author="Anonymous" event="AGU 2019 Townhall" class="highlight magenta" %}
195+
196+
The default color for the quotes is the pyos teal green.
197+
198+
```
199+
{% include pyos-blockquote.html quote="[*I want to... *] Streamline the development of good quality, socially responsible, and easily shareable software." author="Anonymous" event="AGU 2019 Townhall" class="highlight" %}
200+
```
201+
202+
{% include pyos-blockquote.html quote="[*I want to... *] Streamline the development of good quality, socially responsible, and easily shareable software." author="Anonymous" event="AGU 2019 Townhall" class="highlight" %}
203+
187204
## Buttons
188205

189206
Make any link standout more when applying the `.btn .btn--primary` classes.

_sass/minimal-mistakes/_archive.scss

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@
4343
}
4444
}
4545

46-
.archive__item-title {
46+
.archive__item-title, h2.archive__item-title {
4747
margin-bottom: 0.25em;
48-
//font-family: $sans-serif-narrow;
48+
margin-top: 0!important;
4949
line-height: initial;
5050
overflow: hidden;
51-
//text-overflow: ellipsis;
5251

5352
a[rel="permalink"]::before {
5453
content: '';
@@ -67,17 +66,22 @@
6766
/* remove border*/
6867
.page__content {
6968
.archive__item-title {
70-
margin-top: 1em;
69+
//margin-top: 1em;
7170
border-bottom: none;
7271
}
7372
}
7473

7574
.archive__item-excerpt {
7675
margin-top: 0;
77-
font-size: $type-size-6;
76+
font-size: $type-size-5;
77+
78+
p {
79+
max-width: 95%;
80+
}
7881

7982
& + p {
8083
text-indent: 0;
84+
8185
}
8286

8387
a {

_sass/minimal-mistakes/_buttons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
margin-bottom: 0.25em;
1313
padding: 0.5em 1em;
1414
font-family: $sans-serif;
15-
font-size: $type-size-6;
15+
font-size: $type-size-5;
1616
font-weight: 500;
1717
text-align: center;
1818
text-decoration: none;

_sass/minimal-mistakes/_page.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ body {
109109
h4,
110110
h5,
111111
h6 {
112-
max-width: $medium;
112+
max-width: $large;
113113

114114
.header-link {
115115
position: relative;

_sass/minimal-mistakes/_pyos-grid.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ $colors: (
3434
}
3535

3636
/* Create & style a 3x3 grid wrapper */
37+
/* Adjust grid side for the flowing layout */
38+
.flowing .grid {
39+
grid-template-columns: repeat(auto-fit, minmax(calc($small/3), 1fr));
40+
}
41+
3742
.grid {
3843
display: grid;
3944
// minmax can be used to modify width

_sass/minimal-mistakes/_pyos-main.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ img {
99

1010
// Grid customized styles
1111

12-
.flowing .archive__item-excerpt, .archive__item-excerpt {
13-
font-size: .75em!important; }
12+
// .flowing .archive__item-excerpt, .archive__item-excerpt {
13+
// /*font-size: .75em!important; */
14+
// }
1415

1516
/* styles for the people grid */
1617
.contrib_avatar {

0 commit comments

Comments
 (0)