[ADD] Figure caption support

Add a “.figure” class to the element to style the caption

Eg.

.. figure:: media/setup02.png
   :figclass: figure

   Hello! This is the image caption!
This commit is contained in:
stefanorigano 2015-10-14 16:24:49 +02:00 committed by Martin Trigaux
parent 158f5adbc9
commit 9e1ca08efd
2 changed files with 15 additions and 0 deletions

View File

@ -9250,6 +9250,12 @@ main .alert.alert-exercise > h3:before {
max-width: 55%;
}
}
.figure h4 {
margin-top: 0.5em 0 1.5em;
padding-left: 1em;
font-size: 1em;
font-style: italic;
}
.pq-patch {
background: #c2c2c2;
}

View File

@ -479,6 +479,15 @@ main .alert {
}
}
.figure {
h4 {
margin-top: 0.5em 0 1.5em;
padding-left: 1em;
font-size: 1em;
font-style: italic;
}
}
.pq-patch{
background: rgb(194, 194, 194);
em {padding-left: 10px;}