Skip to content

Commit

Permalink
fix: Improve image captions (#232)
Browse files Browse the repository at this point in the history
* make img caption smaller
* update caption
  • Loading branch information
Juliet-Brown authored and kesara committed Jul 26, 2022
1 parent cdef093 commit 461e50b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ietf/static_src/css/streamfield.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
.block-image .caption {
margin-bottom: 1.5em;
font-size: 14px;

color: #666666;
}

.caption {
margin-bottom: 1.5em;
font-size: 14px;
color: #666666;
}

.block-paragraph {
Expand Down Expand Up @@ -65,6 +73,8 @@ $border-colour: #bebebe;
}

> caption {
margin-bottom: 1.5em;
font-size: 14px;
caption-side: top;
text-align: center;
color: #666666;
Expand Down

0 comments on commit 461e50b

Please sign in to comment.