Update figure styles in markdown

This commit is contained in:
Alex Shpak 2020-06-16 23:24:40 +02:00
parent c79ab9dbc0
commit 9f58f3b667
4 changed files with 12 additions and 2 deletions

View file

@ -170,6 +170,13 @@
margin-bottom: 0; margin-bottom: 0;
} }
} }
figure {
margin: $padding-16 0;
figcaption p {
margin-top: 0;
}
}
} }
.markdown-inner { .markdown-inner {

View file

@ -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 ficta canistris repercusso simul ego aris Dixit! Esse Fama trepidare hunc
crescendo vigor ululasse vertice *exspatiantur* celer tepidique petita aversata crescendo vigor ululasse vertice *exspatiantur* celer tepidique petita aversata
oculis iussa est me ferro. 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">}}

View file

@ -1 +1 @@
{"Target":"book.min.e40449dffab36960ca7d6bac529d52d7ab9f9d230ffe5de1799e29cb61bc0cb7.css","MediaType":"text/css","Data":{"Integrity":"sha256-5ARJ3/qzaWDKfWusUp1S16ufnSMP/l3heZ4py2G8DLc="}} {"Target":"book.min.a2af03a36e5a5dded100053adfd32fe3c97231a362ec833eb0584bce72ebe023.css","MediaType":"text/css","Data":{"Integrity":"sha256-oq8Do25aXd7RAAU639Mv48lyMaNi7IM+sFhLznLr4CM="}}