[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:
parent
158f5adbc9
commit
9e1ca08efd
@ -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;
|
||||
}
|
||||
|
@ -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;}
|
||||
|
Loading…
Reference in New Issue
Block a user