mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
make blockquotes more compact
This commit is contained in:
parent
34fb72c1af
commit
b6a7e5f8b9
1 changed files with 11 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue