design: tweak codeblocks

This commit is contained in:
Xylight committed 2024-07-26 21:00:42 -07:00
1 parent 53befe1d9f
commit a8012fd2ac
1 file changed
+5 -5
+5 -5
View File
@@ -55,18 +55,18 @@ body {
} }
pre { pre {
@apply bg-slate-100 p-2 rounded-md my-2 max-w-full whitespace-pre-wrap @apply bg-slate-100 p-2 rounded-xl my-2 max-w-full whitespace-pre-wrap
border-slate-200 border dark:bg-zinc-900 dark:border-zinc-800 text-sm; border-slate-200 border dark:bg-zinc-950 dark:border-zinc-900 text-xs;
} }
:not(pre) > code { :not(pre) > code {
@apply bg-slate-100 border border-slate-300 dark:bg-zinc-800 @apply bg-slate-100 dark:bg-zinc-950;
dark:border-zinc-700;
padding-left: 0.25rem; padding-left: 0.25rem;
padding-right: 0.25rem; padding-right: 0.25rem;
padding-top: 0.125rem; padding-top: 0.125rem;
padding-bottom: 0.125rem; padding-bottom: 0.125rem;
border-radius: 3px; border-radius: 6px;
font-size: 12px;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {