improve the looks of blockquotes when nested a lot

This commit is contained in:
Luna D 2021-09-20 20:24:44 +02:00
parent 4e9cde610a
commit 4938892011
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8

View file

@ -210,6 +210,20 @@ blockquote {
background-color: inherit;
}
// Prevent blockquote from gaining far too much indentation and breaking.
blockquote blockquote blockquote blockquote blockquote blockquote {
margin: 1em 0;
padding: 1em 2px;
}
// Horizontal space is at a high premium on mobile.
@media (max-width: $min_px_width_for_desktop_layout) {
blockquote {
margin: 1em 4px;
padding: 1em 4px;
}
}
.spoiler {
background-color: $admin_links_hover_color;
color: $admin_links_hover_color;