feat: add Blockquote component

This commit is contained in:
Stefan Imhoff
2023-06-01 11:56:31 +02:00
parent 676be24b30
commit 89bead4db3
4 changed files with 83 additions and 0 deletions

View File

@@ -81,6 +81,35 @@
quotes: '「' '」' '『' '』';
}
/** Blockquote */
blockquote {
& p,
& ul,
& ol {
@apply text-3 font-extralight italic opacity-60 !mbe-8 mbs-0;
}
& p:last-child {
@apply !mbe-0;
}
& > footer {
@apply !-mbs-5;
}
&:nth-last-child(2) {
@apply mbe-5;
}
& strong {
@apply font-bold italic;
}
& sup {
@apply font-normal;
}
}
/** Inline Quotes */
q {
@apply italic;