diff options
Diffstat (limited to 'src/styles/globals.css')
| -rw-r--r-- | src/styles/globals.css | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/src/styles/globals.css b/src/styles/globals.css index 8846f57..b36e856 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -5,33 +5,36 @@ @tailwind utilities; @layer base { - + h1 { + @apply mb-6 text-4xl font-bold tracking-tight sm:text-5xl; + } + + a { + @apply underline; + } + + pre { + @apply overflow-x-auto p-6 rounded-lg; + } + :not(pre) > code { @apply px-1 py-0.5 font-mono rounded bg-neutral-900 text-yellow-200; font-size: 0.9em; } - h1 { - @apply mb-6 text-4xl font-bold tracking-tight sm:text-5xl; + .markdown > * { + @apply my-6; } -} - -a { - @apply underline -} -.markdown { - @apply mb-1; -} + .markdown > :first-child { + @apply mt-0; + } -.alert .markdown { - @apply mb-0; -} + .markdown > :last-child { + @apply mb-0; + } -.markdown p { - @apply mb-3; + .btn:disabled { + @apply text-neutral-400 bg-neutral-700; + } } - -.btn:disabled { - @apply text-neutral-400 bg-neutral-700; -}
\ No newline at end of file |
