Merge branch 'fix_image_center_alignment_and_spacing' of github.com:Kami/sphinx_rtd_theme into Kami-fix_image_center_alignment_and_spacing

Conflicts:
	sphinx_rtd_theme/static/css/badge_only.css
	sphinx_rtd_theme/static/css/theme.css
This commit is contained in:
Dave Snider 2014-01-31 14:30:48 -08:00
commit c15e5661a3
3 changed files with 13 additions and 1 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

File diff suppressed because one or more lines are too long