-
Notifications
You must be signed in to change notification settings - Fork 224
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
Redesign the team gallery using sphinx-design's card directive #1937
Conversation
Co-authored-by: Dongdong Tian <[email protected]>
</div> | ||
</div> | ||
``` | ||
:::::{grid} 2 3 3 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for the margins? Feel like the vertical spacing between cards could be increased a bit. Right now there's not much of a gap.
compared to https://www.pygmt.org/v0.6.1/team.html:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:::::{grid} 2 3 3 4
These four numbers are the number of columns for extra-small, small, medium and large screens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @seisman, so much simpler! One suggestion is to use the footer option so that the founder/maintainer labels are separated from the GitHub username (example provided as an in-line comment)
doc/team.md
Outdated
Maintainer | ||
[@weiji14](https://github.com/weiji14) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion! I've used the footer option for labels and also use sphinx-design's badge directive to highlight different roles.
Co-authored-by: Wei Ji <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, the badges are a nice touch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
…icMappingTools#1937) Co-authored-by: Max Jones <[email protected]> Co-authored-by: Wei Ji <[email protected]>
Description of proposed changes
Use sphinx-design's card directive instead of the unreadable raw HTML codes added in #1308.
The
card
directive can also be used in #1936.