Fix spacing after the figure and figure center alignment.

This commit is contained in:
Tomaz Muraus 2014-01-10 16:32:23 +01:00
parent f7bf9caa79
commit e030c2e9e7
2 changed files with 12 additions and 0 deletions

View File

@ -435,6 +435,12 @@ A figure directive:
This paragraph is also part of the legend.
A figure directive with center alignment
.. figure:: images/title.png
:align: center
:width: 300
Admonitions
```````````

View File

@ -19,6 +19,12 @@
max-width: 100%
height: auto !important
div.figure
margin-bottom: $base-line-height
div.figure.align-center
text-align: center
// Usually it's a good idea to give images some space.
.section > img
margin-bottom: $base-line-height