feat: Enhance article styling with code and link formatting

This commit is contained in:
2025-05-31 21:02:24 +02:00
parent 6377799e1b
commit 27f0b962c1

View File

@ -94,4 +94,22 @@
body { body {
@apply bg-background text-foreground; @apply bg-background text-foreground;
} }
article {
> * {
all: revert;
}
code {
@apply dark:text-neutral-400 text-neutral-800;
}
pre.astro-code {
@apply w-fit p-4 rounded-md border-2 border-gray-600 my-4;
}
a {
@apply text-neutral-800 dark:text-neutral-400 hover:underline;
}
}
} }