Clean up legal styling

This commit is contained in:
Jared Schoeny
2025-11-03 16:26:24 -10:00
parent 04229b2a00
commit a255b727c5
2 changed files with 30 additions and 4 deletions

View File

@@ -289,6 +289,34 @@ html { scroll-padding-top: var(--anchor-offset); }
@apply mt-1;
}
.prose strong {
@apply font-semibold text-foreground/90;
}
.prose hr {
@apply my-6 border-t border-black/10 dark:border-white/10;
}
.prose table {
@apply my-6 w-full text-sm text-left text-foreground/70;
}
.prose table th, .prose table td {
@apply px-6 py-4 border border-zinc-400/30 dark:border-zinc-600/50;
}
.prose table th {
@apply font-semibold bg-zinc-200/40 dark:bg-zinc-700/20;
}
.prose > ul {
@apply list-disc list-outside mt-1 mb-4 text-foreground/70;
}
.prose > ol {
@apply list-decimal list-outside mt-1 mb-4 text-foreground/70;
}
.prose li::marker {
@apply text-foreground/70;
}
.scrollbar-thin {
scrollbar-width: thin;
}

View File

@@ -10,12 +10,10 @@ export const metadata = {
export default function TermsPage() {
return (
<div className="mx-auto max-w-screen-2xl px-6 py-6 sm:py-12">
<div className="mx-auto max-w-screen-lg px-6 py-6 sm:py-12">
<div className="prose prose-invert max-w-none">
<ReactMarkdown remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeSlug]}>{termsMd as unknown as string}</ReactMarkdown>
<ReactMarkdown remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeSlug]}>{termsMd}</ReactMarkdown>
</div>
</div>
);
}