Skip to content

Commit ead1b13

Browse files
authored
Merge pull request #7018 from kenjis/docs-update-css
docs: add background color for versionadded and deprecated
2 parents e894032 + 2a46142 commit ead1b13

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

user_guide_src/source/_static/css/citheme.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,16 @@ html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(
263263
background: #dd4814;
264264
}
265265

266+
.versionadded {
267+
background: #dff0d8;
268+
padding: 0 5px;
269+
}
270+
271+
.deprecated:not(.versionmodified) {
272+
background: #f2dede;
273+
padding: 0 5px;
274+
}
275+
266276
/* Footer ------------------------------------------------------------------- */
267277

268278
.rst-footer-buttons {

0 commit comments

Comments
 (0)