From 0c0ee849a630f125a8f08c10ee71dfdbc6b7c7ce Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 27 Jun 2025 00:42:58 +0200 Subject: chore --- src/index.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/index.css') diff --git a/src/index.css b/src/index.css index fcfe02a..4e1f7d9 100644 --- a/src/index.css +++ b/src/index.css @@ -3,7 +3,10 @@ @custom-variant dark (&:where(.dark, .dark *)); @layer base { - body { + + html, + body, + #root { @apply bg-white dark:bg-black/95; } @@ -31,15 +34,15 @@ @apply text-xl font-semibold dark:text-gray-200; } - article>*>p { + .post p { @apply mb-4 leading-relaxed; } - article>*>ul { + .post ul { @apply list-disc pl-6 space-y-1; } - article>*>*>img { + .post img { @apply mx-auto mb-4 w-64 rounded-lg shadow; } @@ -51,7 +54,7 @@ @apply underline text-purple-500; } - pre { + .post pre { @apply whitespace-pre overflow-x-auto max-w-full max-h-80 rounded-lg border p-2 my-2 border-neutral-300 dark:border-neutral-800 bg-neutral-100 dark:bg-neutral-900; } -- cgit v1.3.1