Style quote blocks, h2, and h3.

This commit is contained in:
Tom Alexander 2023-12-19 21:41:41 -05:00
parent 3968121d54
commit 80cdf5166b
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 21 additions and 1 deletions

View File

@ -9,6 +9,8 @@
--src-block-border-color: #84828f;
--src-block-language-color: #0a0a0a;
--src-block-language-background: #84828f;
--quote-block-border-color: #84828f;
}
body {
@ -75,6 +77,24 @@ body {
margin: 0.5rem;
}
}
.quote_block {
border-left: 1px solid var(--quote-block-border-color);
padding-left: 1rem;
margin-left: 2rem;
}
h2 {
font-size: 1.8rem;
font-weight: 600;
padding-bottom: 1rem;
}
h3 {
font-size: 1.5rem;
font-weight: 500;
padding-bottom: 1rem;
}
}
/* A stand-alone blog post (not in a blog stream). */

View File

@ -1,3 +1,3 @@
<blockquote>{#.children}
<blockquote class="quote_block">{#.children}
{>element/}
{/.children}</blockquote>