From 27f0b962c158be1ece0ef0d4d8adae00cd91ec73 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 31 May 2025 21:02:24 +0200 Subject: [PATCH] feat: Enhance article styling with code and link formatting --- src/styles/app.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/styles/app.css b/src/styles/app.css index 8b84bd5..b30d24c 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -94,4 +94,22 @@ body { @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; + } + } } \ No newline at end of file