refactor: styline
This commit is contained in:
parent
047bbf1cc5
commit
63b8c5d8d2
|
|
@ -1,8 +1,26 @@
|
||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@plugin "@tailwindcss/typography";
|
@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;
|
@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*/
|
/*alert*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue