added lightyears font to feed

This commit is contained in:
2026-04-07 19:31:58 +02:00
parent 224341e3e3
commit 792483232f
7 changed files with 57 additions and 23 deletions

View File

@@ -13,7 +13,7 @@
{#snippet pageButtons(currentIndex: number)}
<div class="page-button-container blurred-background">
{#if currentIndex == 1}
<p class="page-button page-button-left">|</p>
<p class="page-button page-button-left">x</p>
{:else}
<a class="page-button page-button-left page-button-clickable" href="?p={currentIndex - 1}">&lt;</a>
{/if}
@@ -23,7 +23,7 @@
{/each}
{#if currentIndex == data.maxPages}
<p class="page-button page-button-right">|</p>
<p class="page-button page-button-right">x</p>
{:else}
<a class="page-button page-button-right page-button-clickable" href="?p={currentIndex + 1}">&gt;</a>
{/if}
@@ -51,8 +51,11 @@
<TableOfContents />
{#each data.contents as post}
<svelte:component this={post} />
{#each data.feedEntries as entry}
<h2>{entry.title}</h2>
<p class="subtitle">{entry.subtitle}</p>
<p class="subtitle">{entry.date}</p>
<svelte:component this={entry.content} />
{/each}
</Content>
@@ -101,7 +104,7 @@
background-color: var(--color-background-highlight-alt);
}
/* .subtitle {
.subtitle {
font-family: var(--font-mono);
margin: 0;
font-size: 1rem;
@@ -117,5 +120,5 @@
.subtitle::after {
content: " -->";
} */
}
</style>