Skip to content

Commit

Permalink
refactor(blockquote & cite): updated styling to match reference designs
Browse files Browse the repository at this point in the history
affects: @buildit/gravity-ui-web
  • Loading branch information
dw-buildit committed May 23, 2019
1 parent d452ffc commit eab425c
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/gravity-ui-web/src/sass/03-elements/_block-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ pre {
}

blockquote {
@include grav-font-size(4);
text-align: center;
@include grav-font-size(3);
margin-bottom: 2 * $grav-sp-vertical-gap;

&:last-child {
margin-bottom: $grav-sp-vertical-gap;
}
}

* + blockquote {
margin-top: 2 * $grav-sp-vertical-gap;
}

cite {
@include grav-font-size(-2);
font-style: normal;
}
}

0 comments on commit eab425c

Please sign in to comment.