chore: add some basic styling

This commit is contained in:
syntaxbullet
2025-02-07 12:50:32 +01:00
parent aef2acc6de
commit 00fa1c07f8
8 changed files with 105 additions and 258 deletions

View File

@@ -12,13 +12,3 @@ const isActive = href === pathname || href === "/" + (subpath?.[0] || "");
<a href={href} class:list={[className, { active: isActive }]} {...props}>
<slot />
</a>
<style>
a {
display: inline-block;
text-decoration: none;
}
a.active {
font-weight: bolder;
text-decoration: underline;
}
</style>