chore: no author card necessary

This commit is contained in:
Cory Dransfeldt 2024-01-02 11:12:27 -08:00
parent 750d4663a4
commit 03998af7f4
No known key found for this signature in database
3 changed files with 6 additions and 80 deletions

View file

@ -1,9 +0,0 @@
<div class="author__wrapper">
<div class="avatar__wrapper flex--centered">
<div class="avatar__wrapper--interior">
{% image './src/assets/img/avatar.webp', meta.siteName, 'author-avatar' %}
</div>
<span>{{ meta.siteName }}</span>
</div>
<p class="description__wrapper">{{ meta.siteDescription }}</p>
</div>

View file

@ -25,5 +25,4 @@ schema: blog
</div> </div>
{% render "partials/post-tags.liquid", tags: tags %} {% render "partials/post-tags.liquid", tags: tags %}
{% render "partials/webmentions/container.liquid", webmentions: webmentions, page: page %} {% render "partials/webmentions/container.liquid", webmentions: webmentions, page: page %}
{% render "partials/author.liquid", meta: meta %}
{% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %} {% render "partials/popular-posts.liquid", posts: collections.posts, analytics: analytics %}

View file

@ -659,9 +659,11 @@ article .now__section--header {
.webmentions { .webmentions {
border-top: 1px solid var(--gray-200); border-top: 1px solid var(--gray-200);
border-bottom: 1px solid var(--gray-200);
margin-top: 1.5rem; margin-top: 1.5rem;
margin-bottom: 3.25rem; margin-bottom: 3.25rem;
padding-top: 2rem; padding-top: 1rem;
padding-bottom: 1rem;
} }
.webmentions .interaction.comments { .webmentions .interaction.comments {
@ -738,54 +740,10 @@ article .now__section--header {
border-radius: var(--rounded-full); border-radius: var(--rounded-full);
} }
.author__wrapper { .webmentions .interaction .avatar__wrapper > picture {
margin-top: 1.5rem;
padding: 3rem 0 1rem;
border-top: 1px solid var(--gray-200);
}
.author__wrapper,
.author__wrapper > .avatar__wrapper,
.webmentions .interaction .avatar__wrapper > picture,
.author__wrapper > .avatar__wrapper > .avatar__wrapper--interior {
align-items: center; align-items: center;
} }
.author__wrapper > .avatar__wrapper {
margin-bottom: 1rem;
}
.author__wrapper > .avatar__wrapper > .avatar__wrapper--interior {
border: 1px solid var(--blue-600);
border-radius: var(--rounded-full);
margin-bottom: 1rem;
margin-right: 0;
padding: .25rem;
}
.author__wrapper > .avatar__wrapper > .avatar__wrapper--interior,
.author__wrapper > .avatar__wrapper > .avatar__wrapper--interior > .author-avatar > * {
width: 5rem;
height: 5rem;
}
.author__wrapper > .avatar__wrapper span {
font-size: var(--font-size-lg);
line-height: var(--line-height-lg);
font-weight: 700;
}
.author__wrapper > .avatar__wrapper,
.author__wrapper > .description__wrapper {
flex: 1 1 0%;
}
.author__wrapper > .description__wrapper {
font-size: var(--font-size-sm);
line-height: var(--line-height-sm);
margin-top: 0;
}
.progress-bar__wrapper { .progress-bar__wrapper {
display: flex; display: flex;
background-color: rgba(217, 222, 228, .6); background-color: rgba(217, 222, 228, .6);
@ -860,9 +818,6 @@ textarea:focus {
.main__title, .main__title,
.main__wrapper, .main__wrapper,
.contact__wrapper, .contact__wrapper,
.author__wrapper,
.author__wrapper > .avatar__wrapper,
.author__wrapper > .avatar__wrapper > .avatar__wrapper--interior,
.webmentions .interaction .avatar__wrapper > picture, .webmentions .interaction .avatar__wrapper > picture,
.progress-bar { .progress-bar {
display: flex; display: flex;
@ -900,8 +855,7 @@ textarea {
} }
.pagination, .pagination,
.webmentions .interaction .comment__wrapper--interior, .webmentions .interaction .comment__wrapper--interior {
.author__wrapper {
justify-content: space-between; justify-content: space-between;
} }
@ -923,7 +877,6 @@ footer nav {
.avatar__wrapper .avatar__wrapper--interior, .avatar__wrapper .avatar__wrapper--interior,
.media__grid .item__wrapper, .media__grid .item__wrapper,
.webmentions .interaction .avatar__wrapper, .webmentions .interaction .avatar__wrapper,
.author__wrapper > .avatar__wrapper > .avatar__wrapper--interior,
.progress-bar__wrapper { .progress-bar__wrapper {
overflow: hidden; overflow: hidden;
} }
@ -1005,22 +958,6 @@ footer nav {
padding-right: 1.5rem; padding-right: 1.5rem;
margin-bottom: 0; margin-bottom: 0;
} }
/* widgets */
.author__wrapper,
.author__wrapper > .avatar__wrapper {
flex-direction: row;
}
.author__wrapper > .avatar__wrapper {
justify-content: start;
margin-bottom: 0;
}
.author__wrapper > .avatar__wrapper .avatar__wrapper--interior {
margin-bottom: 0;
margin-right: 1rem;
}
} }
/* dark theme */ /* dark theme */
@ -1141,7 +1078,6 @@ footer nav {
} }
/* widgets */ /* widgets */
.author__wrapper,
.webmentions { .webmentions {
border-color: var(--gray-900); border-color: var(--gray-900);
} }
@ -1165,4 +1101,4 @@ footer nav {
.post-graph__progress { .post-graph__progress {
background-color: var(--blue-400); background-color: var(--blue-400);
} }
} }