Basically finishes styling

This commit is contained in:
2025-06-21 21:40:40 -07:00
parent 2ad5e29cad
commit 0daac5bba4
33 changed files with 412 additions and 569 deletions

View File

@@ -10,16 +10,22 @@ const subpath = pathname.match(/[^\/]+/g);
const isActive = href === pathname || href === '/' + (subpath?.[0] || '');
---
<NotchedBox fillNotches={ isActive ? "right" : "none" }>
<a href={href} class:list={[className, { active: isActive }]} {...props}>
<a href={href} class:list={[className, { active: isActive }]} {...props}>
<NotchedBox fillNotches={ isActive ? "right" : "none" }>
<slot />
</a>
</NotchedBox>
</NotchedBox>
</a>
<style>
a {
display: inline-block;
text-decoration: none;
color: var(--color-light-text);
}
a.hover {
color: var(--color-gold);
}
a.active {
font-weight: bolder;
text-decoration: underline;