From 52602cad5c551281754fdef67c4e9376ed44bf8b Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Mon, 17 Jun 2024 06:46:14 +0200 Subject: [PATCH] Tweak style of modules to flake article --- src/styles/base.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/styles/base.css b/src/styles/base.css index 4ce5503..4ea9dad 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -54,4 +54,24 @@ body { @apply p-1; @apply rounded-[4px]; } + + p, ul, ol, h1, h2, h3, h4, h5, h6 { + code { + @apply bg-[color-mix(in_srgb,var(--background-color),var(--text-color)_15%)]; + @apply p-0.5; + @apply rounded-sm; + } + } + + ol { + @apply list-[upper-roman]; + @apply list-outside; + @apply pl-8; + } + + ul { + @apply list-disc; + @apply list-outside; + @apply pl-8; + } }