basic set-up; started work on projects page
This commit is contained in:
48
src/routes/+layout.svelte
Normal file
48
src/routes/+layout.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user