Style quote blocks, h2, and h3.
This commit is contained in:
parent
3968121d54
commit
80cdf5166b
@ -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). */
|
||||
|
@ -1,3 +1,3 @@
|
||||
<blockquote>{#.children}
|
||||
<blockquote class="quote_block">{#.children}
|
||||
{>element/}
|
||||
{/.children}</blockquote>
|
||||
|
Loading…
Reference in New Issue
Block a user