make blockquotes more compact

This commit is contained in:
Luna D 2021-10-04 23:52:28 +02:00
parent 34fb72c1af
commit b6a7e5f8b9
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8

View file

@ -230,10 +230,20 @@ hr {
blockquote { blockquote {
margin: 1em 2em; margin: 1em 2em;
border: 1px dotted $foreground_color; border: 1px dotted $foreground_color;
padding: 1em; padding: var(--padding-small);
background-color: inherit; background-color: inherit;
} }
blockquote .paragraph {
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
// Prevent blockquote from gaining far too much indentation and breaking. // Prevent blockquote from gaining far too much indentation and breaking.
blockquote blockquote blockquote blockquote blockquote blockquote { blockquote blockquote blockquote blockquote blockquote blockquote {
margin: 1em 0; margin: 1em 0;