mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Fix figure caption styling, fixes #197
This commit is contained in:
parent
f1208215d7
commit
436c90aea4
@ -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
|
||||||
==============
|
==============
|
||||||
|
|
||||||
|
@ -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
Loading…
Reference in New Issue
Block a user