diff options
| author | Tomas Bankauskas <tbdizainas@gmail.com> | 2024-04-09 13:48:36 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-09 13:48:36 +0300 |
| commit | 5396de306695226c939384598410761297739fef (patch) | |
| tree | 7922668f00823e21ab7ab799fa4cf5c811bf0613 /src/styles | |
| parent | 3bebbf00e6f4d33bfacbf38eef73a9ad7f0d9d58 (diff) | |
| parent | be4de751ad432f8230d83e1d6cbb3e56d608cd58 (diff) | |
Merge pull request #5 from netlify-templates/edge-page
Added edge page
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/globals.css | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/styles/globals.css b/src/styles/globals.css index b36e856..dabf3e4 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -6,15 +6,19 @@ @layer base { h1 { - @apply mb-6 text-4xl font-bold tracking-tight sm:text-5xl; + @apply text-4xl font-bold tracking-tight sm:text-5xl; + } + + h2 { + @apply text-2xl font-bold sm:text-3xl } a { - @apply underline; + @apply underline transition hover:opacity-80; } pre { - @apply overflow-x-auto p-6 rounded-lg; + @apply p-6 overflow-x-auto rounded-lg; } :not(pre) > code { @@ -22,7 +26,13 @@ font-size: 0.9em; } - .markdown > * { + .markdown > h1, + .markdown > h2 { + @apply mt-12 mb-6; + } + + .markdown > p, + .markdown > pre { @apply my-6; } |
