diff options
| author | Tomas Bankauskas <tbdizainas@gmail.com> | 2024-04-09 12:40:31 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-09 12:40:31 +0300 |
| commit | 3bebbf00e6f4d33bfacbf38eef73a9ad7f0d9d58 (patch) | |
| tree | 2fc74dae2e0d554325ec634891f5726d063e7529 /src/styles | |
| parent | 4df0e4a754ea5e1fb0d05a4e08a53cd49e9fce16 (diff) | |
Added Image CDN page (#4)
* added image-cdn
* updated image-cdn page, colors, etc
* added Markdown.astro and updated styles
Diffstat (limited to 'src/styles')
| -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 |
