Replace Sass with PostCSS, include imports and nesting

This commit is contained in:
Oliver Davies 2018-10-25 00:24:22 +01:00
parent 347bbe20ba
commit 9633b980d5
36 changed files with 279 additions and 184 deletions

View 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;
}