Fix a couple of markdown styles

It looks like there was maybe a regression at some point and
we lost the colors on the code and blockquote blocks. This adds
them back. We also give blockquotes some padding like regular
paragraphs.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2023-01-04 11:32:55 +01:00
committed by Rūdolfs Ošiņš
parent a76f789636
commit 90e420b430
+3 -2
View File
@@ -173,9 +173,10 @@
}
.markdown :global(blockquote) {
color: var(--color-foreground-6);
border-left: 0.3rem solid var(--color-foreground-4);
padding: 0 0 0 1rem;
margin: 0 0 0.625rem 0;
margin: 1rem 0 1rem 0;
}
.markdown :global(strong) {
@@ -190,7 +191,7 @@
.markdown :global(code) {
font-family: var(--font-family-monospace);
font-size: var(--font-size-regular);
color: var(--color-foreground);
color: var(--color-foreground-6);
background-color: var(--color-foreground-2);
border-radius: 0.5rem;
padding: 0.125rem 0.25rem;