Add improved formatting for blockquotes in markdown

This commit is contained in:
Lewin Kelly 2023-07-19 19:09:00 +01:00
parent d53149404b
commit 4fb67b34fb
No known key found for this signature in database
GPG Key ID: C103AD9C84014FD7
2 changed files with 36 additions and 8 deletions

View File

@ -61,8 +61,22 @@
section a:hover
transform translateY(-0.15rem)
.content :global(h2)
// make h1 and h2 different sizes,
// as they are capped by <article>
font-size 1.35rem
.content
:global(h2)
// make h1 and h2 different sizes,
// as they are capped by <article>
font-size 1.35rem
:global(blockquote)
margin-left 0.5rem
padding 0.5rem 0 0.5rem 1rem
border-left 0.2rem solid #888a
font-style italic
:global(blockquote)
margin-left 0rem
:global(p)
margin 0
opacity 0.8
</style>

View File

@ -122,8 +122,22 @@
section a:hover
transform translateY(-0.15rem)
.post :global(h2)
// make h1 and h2 different sizes,
// as they are capped by <article>
font-size 1.35rem
.post
:global(h2)
// make h1 and h2 different sizes,
// as they are capped by <article>
font-size 1.35rem
:global(blockquote)
margin-left 0.5rem
padding 0.5rem 0 0.5rem 1rem
border-left 0.2rem solid #888a
font-style italic
:global(blockquote)
margin-left 0rem
:global(p)
margin 0
opacity 0.8
</style>