Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gallery shortcode #504

Closed
wants to merge 2 commits into from

Conversation

jarrodmillman
Copy link
Member

@jarrodmillman jarrodmillman commented Feb 24, 2024

This is intended to replace:

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.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;
}

We will need to update https://github.com/scientific-python/scientific-python-hugo-theme/blob/main/tools/team_query.py

@jarrodmillman jarrodmillman added the type: Enhancement New feature or request label Feb 24, 2024
Copy link

netlify bot commented Feb 24, 2024

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

Built without sensitive environment variables

Name Link
🔨 Latest commit 14d67ff
🔍 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
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 jarrodmillman marked this pull request as draft February 24, 2024 02:25
@jarrodmillman
Copy link
Member Author

@jarrodmillman jarrodmillman force-pushed the gallery branch 2 times, most recently from 281d06d to b3da29e Compare February 24, 2024 04:50
@jarrodmillman
Copy link
Member Author

See #510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant