trwnh.com/unified.test.hugo/assets/styles/layouts/partials/mf2/h-card.scss

27 lines
513 B
SCSS
Raw Permalink Normal View History

2024-10-12 18:45:14 +00:00
.author-card {
display: inline-flex;
2024-10-12 18:45:14 +00:00
.author-card__link {
2024-10-05 06:27:07 +00:00
text-decoration: none;
color: inherit;
2024-10-18 07:33:33 +00:00
display: inline-flex;
align-items: center;
&:after {
2024-10-16 05:34:37 +00:00
display: none !important; // suppress "external links" icon
}
2024-10-05 06:27:07 +00:00
}
2024-10-12 18:45:14 +00:00
&__avatar {
2024-10-18 07:33:33 +00:00
inline-size: 3em;
block-size: 3em;
2024-10-05 06:27:07 +00:00
border-radius: 100em;
2024-10-18 07:33:33 +00:00
display: inline-block;
margin-inline-end: 0.5em;
&:not(img) {
background: var(--ui-overlay-transparent);
}
2024-10-05 06:27:07 +00:00
}
&__name {
font-weight: bold;
2024-10-18 07:33:33 +00:00
display: inline-flex;
align-items: center;
}
2024-10-05 06:27:07 +00:00
}