mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
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:
commit
c15e5661a3
|
@ -435,6 +435,12 @@ A figure directive:
|
||||||
|
|
||||||
This paragraph is also part of the legend.
|
This paragraph is also part of the legend.
|
||||||
|
|
||||||
|
A figure directive with center alignment
|
||||||
|
|
||||||
|
.. figure:: images/title.png
|
||||||
|
:align: center
|
||||||
|
:width: 300
|
||||||
|
|
||||||
Admonitions
|
Admonitions
|
||||||
```````````
|
```````````
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,12 @@
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
height: auto !important
|
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.
|
// Usually it's a good idea to give images some space.
|
||||||
.section > img
|
.section > img
|
||||||
margin-bottom: $base-line-height
|
margin-bottom: $base-line-height
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user