Skip to content

Commit

Permalink
enh: Center avatars so they line up with header text (handle margin v…
Browse files Browse the repository at this point in the history
…ia grid gap)
  • Loading branch information
TEParsons committed Oct 12, 2024
1 parent 1daac5a commit 3d5610e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mkdocs_landing/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ article {

header#header {
display: grid;
column-gap: 1rem;
align-items: end;
}
header#header #title,
Expand Down Expand Up @@ -112,9 +113,9 @@ nav#socials i {
margin: inherit;
}
#avatar {
object-fit: cover;
margin: 0 1rem 0 0;
max-width: calc(100% - 1rem);
object-fit: contain;
margin: auto;
min-width: 100%;
border: none;
}

Expand Down

0 comments on commit 3d5610e

Please sign in to comment.