fix: sequentially order headers

This commit is contained in:
Cory Dransfeldt 2024-04-30 17:35:28 -07:00
parent 17d7a3d97e
commit 0ca87a43e2
No known key found for this signature in database
5 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "13.2.9", "version": "13.2.10",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -15,7 +15,7 @@
</time> </time>
</div> </div>
<a href="{{ post.url }}"> <a href="{{ post.url }}">
<h3 class="flex-centered">{{ post.data.title }}</h3> <h2 class="flex-centered">{{ post.data.title }}</h2>
</a> </a>
<span class="p-author h-card hidden">{{ meta.siteName }}</span> <span class="p-author h-card hidden">{{ meta.siteName }}</span>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div> <div class="p-summary hidden">{{ post.data.post_excerpt }}</div>

View file

@ -149,12 +149,12 @@ h1, h2, h3, h4, h5, h6 {
font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold);
} }
h1 { font-size: var(--font-size-2xl) } h1 { font-size: var(--font-size-xl) }
h2 { font-size: var(--font-size-xl) } h2 { font-size: var(--font-size-lg) }
h3 { font-size: var(--font-size-lg) } h3 { font-size: var(--font-size-base) }
h4 { font-size: var(--font-size-base) } h4 { font-size: var(--font-size-md) }
h5 { font-size: var(--font-size-md) } h5 { font-size: var(--font-size-sm) }
h6 { font-size: var(--font-size-sm) } h6 { font-size: var(--font-size-xs) }
.section-header-wrapper { .section-header-wrapper {
display: flex; display: flex;
@ -435,7 +435,7 @@ code {
/* articles */ /* articles */
article { article {
& h2 { & h2 {
line-height: var(--line-height-2xl); line-height: var(--line-height-lg);
margin: 0 0 var(--sizing-lg); margin: 0 0 var(--sizing-lg);
transition-property: color; transition-property: color;
} }

View file

@ -20,7 +20,7 @@ eleventyComputed:
</time> </time>
</div> </div>
<a href="{{ post.url }}"> <a href="{{ post.url }}">
<h3 class="flex-centered">{{ post.data.title }}</h3> <h2 class="flex-centered">{{ post.data.title }}</h2>
</a> </a>
{% if author %}via {{ author }}{% endif %} {% if author %}via {{ author }}{% endif %}
{% if post.data.excerpt %} {% if post.data.excerpt %}

View file

@ -17,7 +17,7 @@ pagination:
</time> </time>
</div> </div>
<a href="{{ post.url }}"> <a href="{{ post.url }}">
<h3 class="flex-centered">{{ post.data.title }}</h3> <h2 class="flex-centered">{{ post.data.title }}</h2>
</a> </a>
<span class="p-author h-card hidden">{{ meta.siteName }}</span> <span class="p-author h-card hidden">{{ meta.siteName }}</span>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div> <div class="p-summary hidden">{{ post.data.post_excerpt }}</div>