scientific-python / scientific-python-hugo-theme

Hugo theme based on the design for numpy.org
https://theme.scientific-python.org/
Other
19 stars 23 forks source link

Add gallery shortcode #504

Closed jarrodmillman closed 8 months ago

jarrodmillman commented 8 months ago

This is intended to replace:

.gallery .entry { padding: 1rem; margin: 0.25rem; width: 11rem; text-align: center; vertical-align: top; }

.gallery .photo { display: block; }

.gallery .photo img { width: 60px; border-radius: 50%; margin-bottom: 0.5rem; }

.gallery .name { font-weight: bold; }

.gallery .project { display: block; font-size: 0.8rem; font-style: italic; }


 - https://github.com/scientific-python/scientific-python-hugo-theme/blob/main/assets/theme-css/teams.css

We will need to update https://github.com/scientific-python/scientific-python-hugo-theme/blob/main/tools/team_query.py
netlify[bot] commented 8 months ago

Deploy Preview for scientific-python-hugo-theme ready!

Built without sensitive environment variables

Name Link
Latest commit 14d67ff540333db388221a30bd176ccf1b8fed1c
Latest deploy log https://app.netlify.com/sites/scientific-python-hugo-theme/deploys/65d976275a1c5f0008a08d29
Deploy Preview https://deploy-preview-504--scientific-python-hugo-theme.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 83
Accessibility: 100
Best Practices: 100
SEO: 92
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

jarrodmillman commented 8 months ago

The gallery should look like this: https://pydata-sphinx-theme.readthedocs.io/en/stable/community/contributors.html#collaborators-on-the-repository

jarrodmillman commented 8 months ago

See #510