diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 336effd..5667969 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,319 +1,291 @@ {#snippet SwitchThemeButton()} -
- -
+
+ +
{/snippet} - - + +
-
-
+ + + {@render children?.()} - - {@render children?.()} - - +
-{#if footerCollapse} - + + header a { + text-decoration: none; + } + + .nav-bar { + width: 100%; + max-width: 1400px; + } + + .desktop { + width: 100%; + display: flex; + gap: 30px; + } + + .collapsed { + width: 100%; + display: flex; + } + + #toggle-nav { + background: transparent; + border: none; + } + + + .nav-list { + display: flex; + flex-direction: column; + gap: 10px; + + align-items: center; + } + + .nav-head { + display: flex; + align-items: center; + gap: 10px; + } + + #logo-link { + width: 64px; + aspect-ratio: 1 / 1; + } + + #logo-text { + font-size: 24px; + color: oklch(var(--bc)); + font-family: var(--title-font); + margin: 0; + + min-width: 200px; + } + + .nav-spacer { + width: 100%; + } + + header a { + display: flex; + align-items: center; + + font-size: 22px; + font-family: var(--title-font); + // Text color + color: oklch(var(--bc)); + } + + /* Footer. */ + footer { + margin-top: 50px; + padding: 25px 0; + background-color: oklch(var(--b3)); + + height: 100%; + + display: flex; + justify-content: center; + } + + .about-container { + width: 80%; + height: 100%; + + color: oklch(var(--bc)); + + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + + & h3 { + font-size: larger; + } + } + + .about-container > div { + align-items: center; + text-align: center; + } + + .credits { + line-height: 2; + } + + .contact { + display: flex; + flex-direction: column; + } + + .social { + display: flex; + align-content: center; + gap: 10px; + } + + .social > img { + width: 24px; + } + + footer h3 { + margin-top: 0px; + color: var(--text2); + } + + footer a { + color: var(--text2); + text-decoration-line: underline; + } + + a:hover { + filter: brightness(130%); + } + + @media print { + .hide-on-print { + display: none; + } +} + + +{#if footerCollapse} + {/if} {#if isMobile} - + {/if} - -