diff --git a/src/styles.css b/src/styles.css index 009a45b..7ef1b9d 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,8 +1,26 @@ @import "tailwindcss"; @plugin "@tailwindcss/typography"; -.prose { +@utility prose { @apply prose-h2:first:mt-0 prose-h3:first:mt-0 prose-h4:first:mt-0 prose-h5:first:mt-0; + code{ + background: #0001; + @apply rounded; + padding: .2em .4em; + margin: 0 .2em; + &::before, + &::after { + content: none; + } + } + blockquote { + p { + &:first-of-type::before, + &:last-of-type::after { + content: none; + } + } + } } /*alert*/