Compare commits

..

No commits in common. "1c8621b6f9909ea5eda7288709ba000e9d172a26" and "ec3e37560661b99bea984aaa7c301244a5a17dd0" have entirely different histories.

5 changed files with 12 additions and 21 deletions

View file

@ -1,22 +1,22 @@
<header <header class="content sticky top-0 z-20 grid bg-gray-950 py-2 font-mono drop-shadow sm:px-2">
class="content sticky top-0 z-20 grid h-(--header-height) border-b border-gray-950 bg-gray-950 py-2 font-mono sm:px-2" <a
> href="#main-content"
class="absolute top-0 left-0 z-50 rounded-b-sm bg-indigo-500 px-1 pt-0.5 text-xs text-gray-100 not-focus:sr-only"
>
Skip to main content
</a>
<div class="col-[content] grid grid-cols-3"> <div class="col-[content] grid grid-cols-3">
<div class="flex items-center gap-8"> <div class="flex items-center gap-8">
<!-- --> <!-- -->
</div> </div>
<div class="flex items-center justify-center"> <div class="flex items-center justify-center">
<a <a href="/" class="text-center"> Progress tracker </a>
href="/"
class="block text-center underline decoration-transparent decoration-1 transition-colors hover:decoration-pink-600"
>
Progress tracker
</a>
</div> </div>
<div class="flex items-center justify-end gap-2 py-2 md:gap-4"> <div class="flex items-center justify-end gap-2 py-2 md:gap-4">
<a <a
class="uppercase"
href="https://git.skaarup.dev/nikiskaarup/progress-tracker-v3" href="https://git.skaarup.dev/nikiskaarup/progress-tracker-v3"
target="_blank" target="_blank"
referrerpolicy="no-referrer" referrerpolicy="no-referrer"

View file

@ -4,9 +4,6 @@
const { children }: { children?: Snippet } = $props(); const { children }: { children?: Snippet } = $props();
</script> </script>
<main <main id="main-content" class="content grid min-h-(--main-min-height) py-4">
id="main-content"
class="content grid min-h-(--main-min-height) scroll-m-(--header-height) py-4"
>
{@render children?.()} {@render children?.()}
</main> </main>

View file

@ -77,7 +77,7 @@
<div class="py-2 text-xs text-gray-400/50">{entry.id}</div> <div class="py-2 text-xs text-gray-400/50">{entry.id}</div>
<a <a
href={entry.href} href={entry.href}
class="line-clamp-1 block px-2 py-1 text-nowrap text-ellipsis text-gray-200 capitalize underline decoration-transparent decoration-1 transition-colors hover:decoration-pink-600" class="line-clamp-1 block px-2 py-1 text-nowrap text-ellipsis text-gray-200 capitalize transition-colors hover:text-pink-600 hover:underline"
target="_blank" target="_blank"
title={entry.name} title={entry.name}
referrerpolicy="no-referrer">{entry.name}</a referrerpolicy="no-referrer">{entry.name}</a

View file

@ -9,7 +9,7 @@
} }
:root { :root {
--header-height: --spacing(16); --header-height: calc(var(--spacing) * 16);
--main-min-height: calc(100dvh - var(--header-height)); --main-min-height: calc(100dvh - var(--header-height));
} }

View file

@ -7,12 +7,6 @@
import { userstate } from './shared.svelte'; import { userstate } from './shared.svelte';
</script> </script>
<a
href="#main-content"
class="absolute top-0 left-0 z-50 rounded-b-sm bg-pink-600 px-1 pt-0.5 text-xs text-gray-100 not-focus:sr-only focus:outline-none"
>
Skip to main content
</a>
<Header></Header> <Header></Header>
<Main> <Main>
{#if !userstate.isLoggedIn} {#if !userstate.isLoggedIn}