8000 [ADD] Figure caption support · harthe/documentation-user@9e1ca08 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9e1ca08

Browse files
stefanoriganomart-e
authored andcommitted
[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!
1 parent 158f5ad commit 9e1ca08

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

_extensions/odoo/static/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9250,6 +9250,12 @@ main .alert.alert-exercise > h3:before {
92509250
max-width: 55%;
92519251
}
92529252
}
9253+
.figure h4 {
9254+
margin-top: 0.5em 0 1.5em;
9255+
padding-left: 1em;
9256+
font-size: 1em;
9257+
font-style: italic;
9258+
}
92539259
.pq-patch {
92549260
background: #c2c2c2;
92559261
}

_extensions/odoo/static/style.less

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,15 @@ main .alert {
479479
}
480480
}
481481

482+
.figure {
483+
h4 {
484+
margin-top: 0.5em 0 1.5em;
485+
padding-left: 1em;
486+
font-size: 1em;
487+
font-style: italic;
488+
}
489+
}
490+
482491
.pq-patch{
483492
background: rgb(194, 194, 194);
484493
em {padding-left: 10px;}

0 commit comments

Comments
 (0)
0