From 01feb485bf2c119b6376fa0d985a8a428e6d6d0b Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Wed, 21 Jan 2026 15:21:21 +0100 Subject: [PATCH] adjusted sizing and spacing of body and header text, images, video --- src/lib/banner-title-alt.svelte | 4 +- src/lib/banner2.svelte | 139 ++++------------ src/lib/content.svelte | 27 +--- src/lib/footer.svelte | 4 +- src/lib/header.svelte | 4 +- src/lib/separator-line.svelte | 22 --- src/lib/table-of-contents.svelte | 12 +- src/lib/webrings/gamedev.svelte | 15 +- src/routes/+layout.svelte | 148 ++++++++---------- src/routes/+page.svelte | 102 +++++------- .../devlog/[year]/[date]/+page.svelte | 18 +-- static/fonts/space-mono/bold.ttf | Bin 97256 -> 0 bytes static/fonts/space-mono/bolditalic.ttf | Bin 103288 -> 0 bytes static/fonts/space-mono/italic.ttf | Bin 112912 -> 0 bytes static/fonts/space-mono/regular.ttf | Bin 98320 -> 0 bytes 15 files changed, 162 insertions(+), 333 deletions(-) delete mode 100644 src/lib/separator-line.svelte delete mode 100644 static/fonts/space-mono/bold.ttf delete mode 100644 static/fonts/space-mono/bolditalic.ttf delete mode 100644 static/fonts/space-mono/italic.ttf delete mode 100644 static/fonts/space-mono/regular.ttf diff --git a/src/lib/banner-title-alt.svelte b/src/lib/banner-title-alt.svelte index dc032c9..87bde5b 100644 --- a/src/lib/banner-title-alt.svelte +++ b/src/lib/banner-title-alt.svelte @@ -1,6 +1,4 @@ -
- -
-
- {#if banner} - {#if pixelated} - - {:else} - - {/if} - {/if} -
- {@render titles({title, subtitle, date})} -
-
-
- - -
- {#snippet titles({title, subtitle, date}: {title: string, subtitle: string, date: string})} -

{title}

- {#if subtitle} -

[ {subtitle} ]

- {/if} +
+

{title}

+ {#if subtitle} +

[ {subtitle} ]

+ {/if} +
{#if date}

» {date}

{/if} {/snippet} - +
+ {#if banner} + {#if pixelated} + + {:else} + + {/if} + {/if} + {@render titles({title, subtitle, date})} +
+
\ No newline at end of file diff --git a/src/lib/content.svelte b/src/lib/content.svelte index a5f1e74..deb29f7 100644 --- a/src/lib/content.svelte +++ b/src/lib/content.svelte @@ -1,37 +1,20 @@ -{#if useContentWidth} -
- -
-{:else} -
- -
-{/if} +
+ {@render children()} +
\ No newline at end of file diff --git a/src/lib/table-of-contents.svelte b/src/lib/table-of-contents.svelte index 2888480..88bcdf9 100644 --- a/src/lib/table-of-contents.svelte +++ b/src/lib/table-of-contents.svelte @@ -98,22 +98,22 @@ padding: 0; margin: 0; } - /* .toc-list li { - list-style: none; - } */ + .toc-list a { width: 100%; padding-top: 3px; padding-bottom: 3px; padding-right: 24px; + margin: 0; display: inline-block; - color: var(--color-text); text-decoration: none; transition: all 0.2s ease-in-out; transition-property: color background-color; box-sizing: border-box; } - + .toc-list a, .toc-list a:link, .toc-list a:visited { + color: var(--color-text); + } .toc-list a:hover { color: var(--color-text-dark); background-color: var(--color-highlight); @@ -133,7 +133,7 @@ padding-left: 116px; } .toc-level-1::before, .toc-level-2::before, .toc-level-3::before { - content: "↳ "; + content: "└ "; } } \ No newline at end of file diff --git a/src/lib/webrings/gamedev.svelte b/src/lib/webrings/gamedev.svelte index 493e36f..1c3b391 100644 --- a/src/lib/webrings/gamedev.svelte +++ b/src/lib/webrings/gamedev.svelte @@ -8,7 +8,7 @@ ↫ PREV RAND - LIST + LIST NEXT ↬ @@ -22,14 +22,23 @@ align-items: center; margin: 16px auto; } - .webring-row a { + a { margin: 0 4px; text-decoration: none; } + a:link, a:visited { + color: var(--color-highlight); + } + a:hover { + font-weight: 700; + } .webring-row { - font-family: 'Space Mono'; + font-family: var(--font-mono); display: flex; width: 100%; justify-content: space-between; } + span { + margin: 0; + } \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 79732c8..6732518 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -15,42 +15,6 @@ \ No newline at end of file diff --git a/src/routes/projects/projectn5/devlog/[year]/[date]/+page.svelte b/src/routes/projects/projectn5/devlog/[year]/[date]/+page.svelte index 9c611bc..9bce89f 100644 --- a/src/routes/projects/projectn5/devlog/[year]/[date]/+page.svelte +++ b/src/routes/projects/projectn5/devlog/[year]/[date]/+page.svelte @@ -1,5 +1,5 @@