Skip to content

Commit 9e156f5

Browse files
authored
Fix: isotope styles cleanup + role fixes (#307)
* Fix: isotope styles cleanup + role fixes * Fix: remove unused styles
1 parent 0776608 commit 9e156f5

File tree

5 files changed

+34
-71
lines changed

5 files changed

+34
-71
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ Gemfile.lock
77
.DS_Store
88
images/full-images/
99
all_contribs.pickle
10+
.vale.ini
11+
styles/*

_data/contributors.yml

+18-11
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
- name: Carol Willing
113113
github_username: willingc
114114
github_image_id: 2680980
115-
title:
115+
title: Advisory Council
116116
sort:
117117
bio: Project Jupyter, nteract, and CPython core developer@python | @jupyter |
118118
@jupyterhub | @ipython | @nteract | @pysplash
@@ -127,6 +127,7 @@
127127
website: https://hachyderm.io/web/@willingc
128128
board: false
129129
contributor_type:
130+
- leadership
130131
- code-contrib
131132
- guidebook-contrib
132133
- peer-review
@@ -142,7 +143,7 @@
142143
- name: Erin Robinson
143144
github_username: erinmr
144145
github_image_id: 2915555
145-
title:
146+
title: Advisory Council
146147
sort:
147148
bio:
148149
organization:
@@ -165,7 +166,7 @@
165166
- name: Chris Holdgraf
166167
github_username: choldgraf
167168
github_image_id: 1839645
168-
title:
169+
title: Advisory Council
169170
sort:
170171
bio: I work with Project Jupyter and other open communities to build tools and
171172
solve problems for scientific research and education.
@@ -193,7 +194,7 @@
193194
- name: Inessa Pawson
194195
github_username: InessaPawson
195196
github_image_id: 43481325
196-
title:
197+
title: Advisory Council
197198
sort:
198199
bio: NumPy Contributor Experience LeadOpen Source Program Manager at OpenTeams
199200
Incubator
@@ -218,7 +219,7 @@
218219
- name: Pradyun Gedam
219220
github_username: pradyunsg
220221
github_image_id: 3275593
221-
title:
222+
title: Advisory Council
222223
sort:
223224
bio: "@pypa member, @psf fellow, @toml-lang core, @sphinx-doc contributor. Past
224225
intern at @enthought and IITB.Don't email or tweet me for tech support."
@@ -233,6 +234,7 @@
233234
website: https://pradyunsg.me
234235
board: false
235236
contributor_type:
237+
- leadership
236238
- guidebook-contrib
237239
- package-guide
238240
packages_editor:
@@ -243,7 +245,7 @@
243245
- name: Leonardo Uieda
244246
github_username: leouieda
245247
github_image_id: 290082
246-
title:
248+
title: Advisory Council
247249
sort:
248250
bio: Geophysicist investigating Earth's gravity & magnetic fields from global
249251
to microscopic scale 🛰️🔬🌎
@@ -258,6 +260,7 @@
258260
website: https://www.leouieda.com
259261
board: false
260262
contributor_type:
263+
- leadership
261264
packages_editor:
262265
packages_submitted:
263266
packages_reviewed:
@@ -267,6 +270,7 @@
267270
github_username: xmnlab
268271
github_image_id: 5209757
269272
title:
273+
- Advisory Council
270274
- Emeritus editor
271275
sort: 1
272276
bio: Open Source Developer
@@ -304,7 +308,9 @@
304308
- name: Filipe
305309
github_username: ocefpaf
306310
github_image_id: 950575
307-
title: Editor
311+
title:
312+
- Advisory Council
313+
- Editor
308314
sort: 2
309315
bio: Filipe Fernandes is a Physical oceanographer by training, turned research
310316
software engineer, and a software packager hobbyist.
@@ -336,7 +342,7 @@
336342
- name: Lindsey Heagy
337343
github_username: lheagy
338344
github_image_id: 6361812
339-
title:
345+
title: Advisory Council
340346
sort:
341347
bio: Asst. Prof at UBC EOAS. Researcher working on geophysical simulations and
342348
inversions (in @simpeg!) and data science.
@@ -360,7 +366,7 @@
360366
- name: Martin Fleischmann
361367
github_username: martinfleis
362368
github_image_id: 36797143
363-
title:
369+
title: Advisory Council
364370
sort:
365371
bio: Researcher in geographic data science. Member of @geopandas and @pysal development
366372
teams.
@@ -387,7 +393,7 @@
387393
- name: Yuvi Panda
388394
github_username: yuvipanda
389395
github_image_id: 30430
390-
title:
396+
title: Advisory Council
391397
sort:
392398
bio:
393399
organization: '@2i2c-org'
@@ -412,7 +418,7 @@
412418
- name: Chase Million
413419
github_username: cmillion
414420
github_image_id: 1483210
415-
title:
421+
title: Advisory Council
416422
sort:
417423
bio:
418424
organization:
@@ -426,6 +432,7 @@
426432
website:
427433
board: false
428434
contributor_type:
435+
- leadership
429436
packages_editor:
430437
packages_submitted:
431438
packages_reviewed:

_pages/contributors.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,19 @@ pyOpenSci has a diverse and vibrant community of pythonistas! To date,
6767

6868
<div id="filters" class="button-group">
6969
<button class="button is-checked" data-filter="*">Show All</button>
70-
<button class="button" data-filter=".leadership">Leadership/Advisory</button>
71-
<button class="button" data-filter=".editor">Editors / Editorial Team</button>
70+
<button class="button" data-filter=".leadership">Leadership</button>
71+
<button class="button" data-filter=".editor">Editorial Team</button>
7272
<button class="button" data-filter=".reviewer">Reviewers</button>
7373
<button class="button" data-filter=".maintainer">Maintainers</button>
7474
<button class="button" data-filter=".peer-review-guide">Peer Review Guide</button>
7575
<button class="button" data-filter=".package-guide">Packaging Guide</button>
7676
<button class="button" data-filter=".metrics-contrib">Metrics</button>
7777
<button class="button" data-filter=".web-contrib">Website</button>
7878

79-
<!-- <button class="button" data-filter=":not(.transition)">not transition</button>
80-
<button class="button" data-filter=".metal:not(.transition)">metal but not transition</button> -->
8179
</div>
8280

8381
<div class="grid-isotope">
82+
<div class="grid-sizer"></div>
8483
{% for aperson in ppl_sorted %}
8584
{% include people-grid.html %}
8685
{% endfor %}

_sass/minimal-mistakes/_pyos-isotope.scss

+9-54
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ input[type="text"] {
1212
font-size: 20px;
1313
}
1414

15+
16+
1517
/* ---- button ---- */
1618

1719
.button {
@@ -73,12 +75,11 @@ input[type="text"] {
7375
/* ---- grid ---- */
7476

7577

76-
/* clear fix */
77-
// .grid:after {
78-
// content: '';
79-
// display: block;
80-
// clear: both;
81-
// }
78+
/* Layout */
79+
.grid-sizer {
80+
width: 22%;
81+
}
82+
8283

8384
/* ---- .element-item ---- */
8485

@@ -90,64 +91,18 @@ input[type="text"] {
9091
position: relative;
9192
float: left;
9293
//height: 400px;
93-
width: calc(30% - 13.3px);
94+
width: calc(23% - 13.3px);
9495
margin: 5px;
9596
padding: 10px;
9697
}
9798

98-
.grid-sizer {
99-
width: 30%;
100-
}
10199
@media screen and (max-width:1199px) {
102100
.element-item {
103-
width:calc( 50% - 10px);
101+
width:calc(30% - 10px);
104102
}
105103
}
106104

107105
.element-item > * {
108106
margin: 0;
109107
padding: 0;
110108
}
111-
112-
.element-item .name {
113-
position: absolute;
114-
left: 10px;
115-
top: 60px;
116-
text-transform: none;
117-
letter-spacing: 0;
118-
font-size: 12px;
119-
font-weight: normal;
120-
}
121-
122-
.element-item .symbol {
123-
position: absolute;
124-
left: 10px;
125-
top: 0px;
126-
font-size: 42px;
127-
font-weight: bold;
128-
color: white;
129-
}
130-
131-
.element-item .number {
132-
position: absolute;
133-
right: 8px;
134-
top: 5px;
135-
}
136-
137-
.element-item .weight {
138-
position: absolute;
139-
left: 10px;
140-
top: 76px;
141-
font-size: 12px;
142-
}
143-
144-
.element-item.alkali { background: #F00; background: hsl( 0, 100%, 50%); }
145-
.element-item.alkaline-earth { background: #F80; background: hsl( 36, 100%, 50%); }
146-
.element-item.lanthanoid { background: #FF0; background: hsl( 72, 100%, 50%); }
147-
.element-item.actinoid { background: #0F0; background: hsl( 108, 100%, 50%); }
148-
.element-item.transition { background: #0F8; background: hsl( 144, 100%, 50%); }
149-
.element-item.post-transition { background: #0FF; background: hsl( 180, 100%, 50%); }
150-
.element-item.metalloid { background: #08F; background: hsl( 216, 100%, 50%); }
151-
.element-item.diatomic { background: #00F; background: hsl( 252, 100%, 50%); }
152-
.element-item.halogen { background: #F0F; background: hsl( 288, 100%, 50%); }
153-
.element-item.noble-gas { background: #F08; background: hsl( 324, 100%, 50%); }

assets/js/dropdown.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ var $grid = $('.grid-isotope').imagesLoaded( function() {
4747
itemSelector: '.element-item',
4848
layoutMode: 'masonry',
4949
masonry: {
50-
columnWidth: 80,
51-
horizontalOrder: false,
50+
columnWidth: 100,
51+
horizontalOrder: true,
5252
},
5353
filter: function() {
5454
var $this = $(this);

0 commit comments

Comments
 (0)