fixed font link for subpages; reduced width of devlog posts; reduced height of banner; removed old banner

This commit is contained in:
2025-12-30 19:03:57 +00:00
parent 3e90dbdc80
commit b8ed25ae65
10 changed files with 220 additions and 119 deletions

View File

@@ -1,16 +1,37 @@
<div class="main-content">
<slot />
</div>
<script lang="ts">
let {
useContentWidth,
}: {
useContentWidth?: boolean;
} = $props();
</script>
{#if useContentWidth}
<div class="main-content content-width">
<slot />
</div>
{:else}
<div class="main-content page-width">
<slot />
</div>
{/if}
<style>
.main-content {
width: 100%;
max-width: var(--page-width);
box-sizing: border-box;
margin: 0 auto;
padding: 0 24px;
}
.content-width {
max-width: var(--content-width);
}
.page-width {
max-width: var(--page-width);
}
@media screen and (max-width: 800px) {
.main-content {
padding: 0 8px;