basic set-up; started work on projects page

This commit is contained in:
2025-04-01 13:55:54 +02:00
parent 9ccd97120b
commit 29e812f80d
7 changed files with 170 additions and 9 deletions

48
src/routes/+layout.svelte Normal file
View File

@@ -0,0 +1,48 @@
<script>
let { children } = $props();
</script>
{@render children()}
<style>
:global {
body {
margin: 0 auto 228px;
max-width: 1200px;
}
p, span, li, pre, a, h1, h2, h3, h4, h5, h6 {
font-family: 'Reddit Sans', 'Lato', sans-serif;
}
p, span, li, pre, a {
color: var(--color-text);
line-height: 1.6rem;
}
h1 {
font-size: 3rem;
line-height: 3.5rem;
}
h2 {
font-size: 2rem;
line-height: 2.2rem;
}
h3 {
font-size: 1.4rem;
line-height: 1.5rem;
}
h4, h5, h6 {
font-size: 1.2rem;
line-height: 1.3rem;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 900;
color: var(--color-highlight);
margin-top: 12px;
margin-bottom: 8px;
width: fit-content;
}
}
</style>