Skip to content

Commit

Permalink
Merge pull request #2 from trickeydan/dgt/styling-fixes
Browse files Browse the repository at this point in the history
A few fixes to styling
  • Loading branch information
hughrawlinson authored Jun 5, 2024
2 parents 0edb59b + 3288c95 commit 14ead43
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/Hexpansion.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const image_url = image_url_prop
return homepage ? <a href={homepage}>{markup}</a> : markup;
})(
<article>
<h1>{unique_name}</h1>
<h2>by {maker}</h2>
<h2>{unique_name}</h2>
<div role="doc-subtitle">by {maker}</div>
{image_url && (
<img
alt={`An image of the ${unique_name} hexpansion`}
Expand Down Expand Up @@ -62,9 +62,14 @@ const image_url = image_url_prop
h3 {
color: #eee;
text-decoration: none;
margin: 0.5em 0;
}
a {
color: #aaa;
text-decoration: none;
}
img {
width: 95%;
}
a.link:not(:nth-child(2)) {
border-left: 1px solid white;
Expand Down

0 comments on commit 14ead43

Please sign in to comment.