Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -636,16 +636,15 @@ code {
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--stone-100);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That can stay in case we get a 404 for the image.

border: 1px solid var(--stone-200);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
color: var(--stone-600);
font-family: var(--font-mono);
letter-spacing: 0;
overflow: hidden;
}

.member-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

.member-info {
Expand Down
4 changes: 3 additions & 1 deletion team/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

{% for member in site.data.team %}
<div class="member-card">
<div class="member-avatar">{{ member.avatar }}</div>
<div class="member-avatar">
<img src="https://github.com/{{ member.github }}.png" alt="{{ member.name }} avatar" loading="lazy" width="48" height="48">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

width and height should go into CSS.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, they are in there. They can be deleted.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL redirects. That's not a good idea.

</div>
<div class="member-info">
<div class="member-header">
{% include heading.html title=member.name class="member-name" %}
Expand Down