Add some base markdown styles
This is lighter-weight and arguably easier to configure that Tailwind's typography plugin though I could switch to it at a later date if needed.
This commit is contained in:
parent
bf5f703458
commit
ad8a538172
10 changed files with 58 additions and 19 deletions
|
@ -1,3 +1,27 @@
|
|||
.visually-hidden {
|
||||
@apply sr-only;
|
||||
@layer components {
|
||||
.markdown {
|
||||
* + * {
|
||||
@apply mt-4;
|
||||
}
|
||||
|
||||
h2 + * {
|
||||
@apply mt-2;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@apply mt-6;
|
||||
}
|
||||
|
||||
ul {
|
||||
@apply pl-6 list-disc;
|
||||
}
|
||||
|
||||
li {
|
||||
@apply mt-0;
|
||||
}
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
@apply sr-only;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue