fix: icon alignment

This commit is contained in:
Cory Dransfeldt 2024-01-26 07:49:39 -08:00
parent 15099b0ce1
commit bb57f38e53
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View file

@ -335,20 +335,24 @@ code {
/* articles */ /* articles */
article h2 { article h2 {
line-height: var(--line-height-2xl); line-height: var(--line-height-2xl);
margin: 0 0 .25rem; margin: 0 0 .125rem;
} }
article [rel="author"], article [rel="author"],
article time { article time {
font-size: var(--font-size-sm); font-size: var(--font-size-sm);
line-height: var(--line-height-sm); line-height: var(--line-height-sm);
margin-right: .25rem;
} }
article .meta > * { article .meta > * {
height: 1rem; height: 1rem;
} }
article .meta .meta--icon {
display: inline-flex;
vertical-align: middle;
}
/* icons */ /* icons */
svg { svg {
stroke-width: var(--stroke-width-default); stroke-width: var(--stroke-width-default);

View file

@ -22,7 +22,7 @@ image: /assets/img/ogi/links.jpg
{{ link.date | date: "%m.%Y" }} {{ link.date | date: "%m.%Y" }}
</time> </time>
{%- if shareLink %} {%- if shareLink %}
<a class="brand-mastodon icon--small" href="{{ shareLink }}"> <a class="meta--icon brand-mastodon icon--small" href="{{ shareLink }}">
{% tablericon "brand-mastodon" "Mastodon post" %} {% tablericon "brand-mastodon" "Mastodon post" %}
</a> </a>
{% endif -%} {% endif -%}