mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Merge pull request #223 from snide/fix-figure-caption
Fix figure caption styling, fixes #197
This commit is contained in:
commit
d0ab15b6a8
|
@ -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