Skip to content

Commit 7b3c6e8

Browse files
palkerecsenyizzacharo
authored andcommitted
css: reduce margin on blockquotes site-wide
* Blockquotes currently have a large amount of margin, and this looks especially weird when nesting them. * They look more normal if they have a bit less margin and none at all when they are nested. Also, making their text muted-coloured makes it feel more natural too
1 parent 36f2fe0 commit 7b3c6e8

File tree

1 file changed

+9
-3
lines changed
  • invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals

1 file changed

+9
-3
lines changed

invenio_theme/assets/semantic-ui/less/invenio_theme/theme/globals/site.overrides

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,10 +650,16 @@ code {
650650
white-space: pre-wrap;
651651
}
652652
}
653-
blockquote{
654-
border-left: 4px solid @lightGray;
655-
margin-left: 1.5rem;
653+
654+
blockquote {
655+
margin-left: 0.5rem;
656656
padding-left: 1rem;
657+
color: @mutedTextColor;
658+
border-left: 4px solid @lightGray;
659+
660+
& > blockquote {
661+
margin-left: 0;
662+
}
657663
}
658664

659665
.font-weight-normal {

0 commit comments

Comments
 (0)