Add style to figure element (#225)

* Add style to figure element

* Rebuild
This commit is contained in:
Loïc Penaud 2020-05-12 17:51:27 +02:00 committed by GitHub
parent 8d939f7f5e
commit 0f0ea7e824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 2 deletions

View file

@ -699,3 +699,39 @@ div.admonition.warning {
color: @admonition-warning-color;
background-color: @admonition-warning-bg-color;
}
div.figure {
font-size: 90%;
color: @figure-color;
img {
vertical-align: middle;
line-height: 1;
display: inline;
}
p {
margin-top: 0;
margin-bottom: 0;
}
p.caption {
font-style: italic;
}
div.legend {
text-align: initial;
}
}
div.figure.align-left {
text-align: left;
}
div.figure.align-center {
text-align: center;
}
div.figure.align-right {
text-align: right;
}