Merge pull request #223 from snide/fix-figure-caption

Fix figure caption styling, fixes #197
This commit is contained in:
Eric Holscher 2015-07-21 21:52:32 -07:00
commit d0ab15b6a8
4 changed files with 14 additions and 4 deletions

View File

@ -226,6 +226,14 @@ Here I am making a citation [1]_, another [2]_ and another [3]_
.. [3] This citation will have two backlinks. .. [3] This citation will have two backlinks.
======
Images
======
.. figure:: static/yi_jing_01_chien.jpg
This is a caption for a figure.
Download links Download links
============== ==============

View File

@ -21,6 +21,8 @@
div.figure div.figure
margin-bottom: $base-line-height margin-bottom: $base-line-height
p.caption
font-style: italic
div.figure.align-center div.figure.align-center
text-align: center text-align: center
@ -97,7 +99,7 @@
.align-center .align-center
margin: auto margin: auto
display: block display: block
p.caption .toctree-wrapper p.caption
@extend h2 @extend h2
// This is the #href that shows up on hover. Sphinx's is terrible so I hack it away. // This is the #href that shows up on hover. Sphinx's is terrible so I hack it away.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long