Skip to content

Commit

Permalink
Update figure styles in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-shpak committed Jun 16, 2020
1 parent c79ab9d commit 9f58f3b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions assets/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@
margin-bottom: 0;
}
}

figure {
margin: $padding-16 0;
figcaption p {
margin-top: 0;
}
}
}

.markdown-inner {
Expand Down
3 changes: 3 additions & 0 deletions exampleSite/content/docs/example/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,6 @@ Tamen inde, vos videt e flammis Scythica parantem rupisque pectora umbras. Haec
ficta canistris repercusso simul ego aris Dixit! Esse Fama trepidare hunc
crescendo vigor ululasse vertice *exspatiantur* celer tepidique petita aversata
oculis iussa est me ferro.

{{< figure src="https://image.freepik.com/free-vector/abstract-dynamic-pattern-wallpaper-vector_53876-59131.jpg" class="text-left" caption="meh">}}

Loading

0 comments on commit 9f58f3b

Please sign in to comment.