Skip to content

Commit

Permalink
fix: preitter format
Browse files Browse the repository at this point in the history
  • Loading branch information
Parsifa1 committed Oct 13, 2024
1 parent 5e17892 commit 0cf4411
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,20 @@
svg.icon-tabler {
@apply inline-block h-6 w-6 scale-125 fill-transparent stroke-current stroke-2 opacity-90 group-hover:fill-transparent sm:scale-110;
}

/* prettier-ignore */
.prose {
@apply prose-headings:!mb-3 prose-headings:!text-skin-base prose-h3:not-italic prose-p:!text-skin-base prose-a:!text-skin-base prose-a:!decoration-dashed prose-a:underline-offset-8 hover:prose-a:text-skin-accent prose-blockquote:!border-l-skin-accent prose-blockquote:border-opacity-50 prose-blockquote:opacity-80 prose-figcaption:!text-skin-base prose-figcaption:opacity-70 prose-strong:!text-skin-base prose-code:rounded prose-code:bg-skin-card prose-code:bg-opacity-75 prose-code:p-1 prose-code:before:!content-none prose-code:after:!content-none prose-ol:!text-skin-base prose-ul:overflow-x-clip prose-ul:!text-skin-base prose-li:marker:!text-skin-accent prose-table:text-skin-base prose-th:border prose-th:border-skin-line prose-td:border prose-td:border-skin-line prose-img:!my-2 prose-img:mx-auto prose-img:border-2 prose-img:border-skin-line prose-hr:!border-skin-line;
@apply prose-headings:!mb-3 prose-headings:!text-skin-base prose-h3:not-italic prose-p:!text-skin-base prose-a:!text-skin-base prose-a:!decoration-dashed
prose-a:underline-offset-8 hover:prose-a:text-skin-accent prose-blockquote:!border-l-skin-accent prose-blockquote:border-opacity-50
prose-blockquote:opacity-80 prose-figcaption:!text-skin-base prose-figcaption:opacity-70 prose-strong:!text-skin-base
prose-code:rounded prose-code:bg-skin-card prose-code:bg-opacity-75 prose-code:p-1 prose-code:before:!content-none
prose-code:after:!content-none prose-ol:!text-skin-base prose-ul:overflow-x-clip prose-ul:!text-skin-base
prose-li:marker:!text-skin-accent prose-table:text-skin-base prose-th:border prose-th:border-skin-line
prose-td:border prose-td:border-skin-line prose-img:!my-2 prose-img:mx-auto prose-img:border-2
prose-img:border-skin-line prose-hr:!border-skin-line;
@apply text-lg !important;
}

.prose a {
@apply break-words hover:!text-skin-accent;
}
Expand Down

0 comments on commit 0cf4411

Please sign in to comment.