fixed font link for subpages; reduced width of devlog posts; reduced height of banner; removed old banner
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user