fix: misc styles

This commit is contained in:
Cory Dransfeldt 2023-12-28 08:59:51 -08:00
parent 2af1c396a9
commit 266a631635
No known key found for this signature in database
6 changed files with 46 additions and 35 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "4.0.1",
"version": "4.0.2",
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
"type": "module",
"scripts": {

View file

@ -3,24 +3,26 @@ layout: main
schema: blog
---
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
<article class="h-entry" data-pagefind-body>
{% if link %}
<a class="no-underline" href="{{ link }}">
<h2 data-pagefind-meta="title">
{% tablericon 'link' title %}
{{ title }}
</h2>
</a>
{% else %}
<h2 class="p-name" data-pagefind-meta="title">{{ title }}</h2>
{% endif %}
<span class="p-author h-card hidden">{{ meta.author }}</span>
<time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
<div class="p-summary hidden">{{ post_excerpt | markdown }}</div>
<div class="e-content">
{{ content }}
</div>
</article>
<div class="article__wrapper">
<article class="h-entry" data-pagefind-body>
{% if link %}
<a class="no-underline" href="{{ link }}">
<h2 data-pagefind-meta="title">
{% tablericon 'link' title %}
{{ title }}
</h2>
</a>
{% else %}
<h2 class="p-name" data-pagefind-meta="title">{{ title }}</h2>
{% endif %}
<span class="p-author h-card hidden">{{ meta.author }}</span>
<time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
<div class="p-summary hidden">{{ post_excerpt }}</div>
<div class="e-content">
{{ content }}
</div>
</article>
</div>
{% render "partials/post-tags.liquid", tags: tags %}
{% render "partials/webmentions/container.liquid", webmentions: webmentions, page: page %}
{% render "partials/author.liquid", meta: meta %}

View file

@ -215,17 +215,16 @@ main {
line-height: var(--line-height-2xl);
}
article a h2 {
line-height: var(--line-height-2xl);
.now__topper h2 a,
article a h2,
.main__title h1 a,
footer .links__secondary a {
text-decoration: none;
}
.main__title h1 a,
.now__topper h2 a,
article a h2,
footer .links__secondary a {
color: var(--black);
stroke: var(--black);
text-decoration: none;
}
.main__title h1 a:hover,
@ -247,7 +246,7 @@ footer .links__secondary a:active {
article {
border-bottom: 1px solid var(--gray-200);
margin-bottom: 2rem;
padding-bottom: 2rem;
padding-bottom: 1rem;
}
.now__topper h2 {
@ -458,8 +457,12 @@ code {
}
/* articles */
.article__wrapper {
padding-top: 1rem;
}
article h2 {
margin-bottom: .5rem;
line-height: var(--line-height-2xl);
}
article time {
@ -772,11 +775,19 @@ ol li {
margin-bottom: 1.5rem;
}
.webmentions__wrapper .interaction__wrapper:last-child {
margin-bottom: 0;
}
.webmentions__wrapper .interaction__wrapper .comment__wrapper {
width: 100%;
padding-bottom: 1rem;
}
.webmentions__wrapper .interaction__wrapper .comment__wrapper:last-child {
padding-bottom: 0;
}
.webmentions__wrapper .interaction__wrapper .comment__wrapper--interior {
justify-content: space-between;
}

View file

@ -21,7 +21,6 @@ meta:
image:
src: https://coryd.dev/assets/img/avatar.webp
---
{% if pagination.pageNumber == 0 %}{% include "partials/now/topper.liquid" status:status %}{% endif %} {% for post in pagination.items %} {% if post.data.published %}
<article class="h-entry">
<a class="no-underline" href="{{ post.url }}">
@ -31,6 +30,7 @@ meta:
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%m.%Y" }}
</time>
<p class="p-summary">{{ post.data.post_excerpt | markdown }}</p>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div>
{{ post.data.post_excerpt | markdown }}
</article>
{% endif %} {% endfor %} {% include "partials/paginator.liquid" %}

View file

@ -5,7 +5,6 @@ description: "Absolutely classic."
draft: false
tags: ['music']
---
<https://www.youtube.com/watch?v=gzC0RNkBXM0>
Absolutely classic.<!-- excerpt -->
<https://www.youtube.com/watch?v=gzC0RNkBXM0>

View file

@ -5,9 +5,8 @@ description: 'I could not be more excited for this release.'
draft: false
tags: ['music']
---
I could not be more excited for this release.<!-- excerpt -->
<https://www.youtube.com/watch?v=V8ia-nyd_K8>
I could not be more excited for this release.
Kudos to Roadburn Festival [for commissioning the piece](https://roadburn.com/premiere-waste-of-space-orchestra-seekers-reflection/).<!-- excerpt -->
Kudos to Roadburn Festival [for commissioning the piece](https://roadburn.com/premiere-waste-of-space-orchestra-seekers-reflection/).