Replace Sass with PostCSS, include imports and nesting
This commit is contained in:
parent
347bbe20ba
commit
9633b980d5
36 changed files with 279 additions and 184 deletions
28
assets/css/components/markdown.css
Normal file
28
assets/css/components/markdown.css
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.markdown {
|
||||
h2 {
|
||||
@apply mt-8 mb-3 text-black;
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
@apply text-black;
|
||||
}
|
||||
|
||||
p:last-child {
|
||||
@apply mb-0;
|
||||
}
|
||||
|
||||
p code,
|
||||
li code {
|
||||
@apply bg-grey-lighter inline-block font-mono text-sm px-1 py-px;
|
||||
}
|
||||
|
||||
pre code,
|
||||
.hljs {
|
||||
@apply bg-grey-lighter block border-grey-dark border-l-4 font-mono leading-loose overflow-x-scroll p-6 rounded text-sm;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown p a,
|
||||
.markdown li a {
|
||||
@apply link;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue