feat(css): de-italicize <blockquote> & increase top margin for headers

`<blockquote>`s now already have border as indicator, so extra italic style is
not needed anymore.

`margin-top` for `<h2>` etc. is slightly increased for visual symmetry.
This commit is contained in:
Hanwen Guo 2024-11-30 23:55:30 -07:00
parent 8479b74d07
commit 034ae899db

View File

@ -83,7 +83,7 @@ body {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
h2, h3, h4, h5, h6 { margin-top: 0.5rem; } h2, h3, h4, h5, h6 { margin-top: 1.5rem; }
p { margin: 1rem 0; } p { margin: 1rem 0; }
@ -135,7 +135,6 @@ code.has-jax {
} }
blockquote { blockquote {
font-style: italic;
padding: 1rem; padding: 1rem;
p { margin: 0; } p { margin: 0; }