fix: icon alignment
This commit is contained in:
parent
15099b0ce1
commit
bb57f38e53
2 changed files with 7 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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 -%}
|
||||||
|
|
Reference in a new issue