fix: misc styles
This commit is contained in:
parent
2af1c396a9
commit
266a631635
6 changed files with 46 additions and 35 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"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.",
|
"description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -3,7 +3,8 @@ layout: main
|
||||||
schema: blog
|
schema: blog
|
||||||
---
|
---
|
||||||
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
|
{% render "partials/header.liquid", meta: meta, page: page, nav: nav %}
|
||||||
<article class="h-entry" data-pagefind-body>
|
<div class="article__wrapper">
|
||||||
|
<article class="h-entry" data-pagefind-body>
|
||||||
{% if link %}
|
{% if link %}
|
||||||
<a class="no-underline" href="{{ link }}">
|
<a class="no-underline" href="{{ link }}">
|
||||||
<h2 data-pagefind-meta="title">
|
<h2 data-pagefind-meta="title">
|
||||||
|
@ -16,11 +17,12 @@ schema: blog
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="p-author h-card hidden">{{ meta.author }}</span>
|
<span class="p-author h-card hidden">{{ meta.author }}</span>
|
||||||
<time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
|
<time class="dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
|
||||||
<div class="p-summary hidden">{{ post_excerpt | markdown }}</div>
|
<div class="p-summary hidden">{{ post_excerpt }}</div>
|
||||||
<div class="e-content">
|
<div class="e-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
</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/author.liquid", meta: meta %}
|
||||||
|
|
|
@ -215,17 +215,16 @@ main {
|
||||||
line-height: var(--line-height-2xl);
|
line-height: var(--line-height-2xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
article a h2 {
|
.now__topper h2 a,
|
||||||
line-height: var(--line-height-2xl);
|
article a h2,
|
||||||
|
.main__title h1 a,
|
||||||
|
footer .links__secondary a {
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main__title h1 a,
|
.main__title h1 a,
|
||||||
.now__topper h2 a,
|
|
||||||
article a h2,
|
|
||||||
footer .links__secondary a {
|
footer .links__secondary a {
|
||||||
color: var(--black);
|
color: var(--black);
|
||||||
stroke: var(--black);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.main__title h1 a:hover,
|
.main__title h1 a:hover,
|
||||||
|
@ -247,7 +246,7 @@ footer .links__secondary a:active {
|
||||||
article {
|
article {
|
||||||
border-bottom: 1px solid var(--gray-200);
|
border-bottom: 1px solid var(--gray-200);
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.now__topper h2 {
|
.now__topper h2 {
|
||||||
|
@ -458,8 +457,12 @@ code {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* articles */
|
/* articles */
|
||||||
|
.article__wrapper {
|
||||||
|
padding-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
article h2 {
|
article h2 {
|
||||||
margin-bottom: .5rem;
|
line-height: var(--line-height-2xl);
|
||||||
}
|
}
|
||||||
|
|
||||||
article time {
|
article time {
|
||||||
|
@ -772,11 +775,19 @@ ol li {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.webmentions__wrapper .interaction__wrapper:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.webmentions__wrapper .interaction__wrapper .comment__wrapper {
|
.webmentions__wrapper .interaction__wrapper .comment__wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.webmentions__wrapper .interaction__wrapper .comment__wrapper:last-child {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.webmentions__wrapper .interaction__wrapper .comment__wrapper--interior {
|
.webmentions__wrapper .interaction__wrapper .comment__wrapper--interior {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,6 @@ meta:
|
||||||
image:
|
image:
|
||||||
src: https://coryd.dev/assets/img/avatar.webp
|
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 %}
|
{% 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">
|
<article class="h-entry">
|
||||||
<a class="no-underline" href="{{ post.url }}">
|
<a class="no-underline" href="{{ post.url }}">
|
||||||
|
@ -31,6 +30,7 @@ meta:
|
||||||
<time class="dt-published" datetime="{{ post.date }}">
|
<time class="dt-published" datetime="{{ post.date }}">
|
||||||
{{ post.date | date: "%m.%Y" }}
|
{{ post.date | date: "%m.%Y" }}
|
||||||
</time>
|
</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>
|
</article>
|
||||||
{% endif %} {% endfor %} {% include "partials/paginator.liquid" %}
|
{% endif %} {% endfor %} {% include "partials/paginator.liquid" %}
|
||||||
|
|
|
@ -5,7 +5,6 @@ description: "Absolutely classic."
|
||||||
draft: false
|
draft: false
|
||||||
tags: ['music']
|
tags: ['music']
|
||||||
---
|
---
|
||||||
|
Absolutely classic.<!-- excerpt -->
|
||||||
|
|
||||||
<https://www.youtube.com/watch?v=gzC0RNkBXM0>
|
<https://www.youtube.com/watch?v=gzC0RNkBXM0>
|
||||||
|
|
||||||
Absolutely classic.<!-- excerpt -->
|
|
||||||
|
|
|
@ -5,9 +5,8 @@ description: 'I could not be more excited for this release.'
|
||||||
draft: false
|
draft: false
|
||||||
tags: ['music']
|
tags: ['music']
|
||||||
---
|
---
|
||||||
|
I could not be more excited for this release.<!-- excerpt -->
|
||||||
|
|
||||||
<https://www.youtube.com/watch?v=V8ia-nyd_K8>
|
<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/).
|
||||||
|
|
||||||
Kudos to Roadburn Festival [for commissioning the piece](https://roadburn.com/premiere-waste-of-space-orchestra-seekers-reflection/).<!-- excerpt -->
|
|
||||||
|
|
Reference in a new issue