doc: style admonitions
Only certain type of admonitions were styled (e.g. notes, warnings, etc.). This change also styles generic admonitions such as: ```rst ... admonition:: Rationale ... ``` Fixes #40622 Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
af79664da3
commit
05284cfe17
1 changed files with 2 additions and 0 deletions
2
doc/_static/css/custom.css
vendored
2
doc/_static/css/custom.css
vendored
|
@ -527,6 +527,7 @@ a.internal:visited code.literal {
|
|||
|
||||
/* Admonition tweaks */
|
||||
|
||||
.rst-content .admonition,
|
||||
.rst-content .admonition.note,
|
||||
.rst-content .admonition.seealso {
|
||||
background-color: var(--admonition-note-background-color);
|
||||
|
@ -534,6 +535,7 @@ a.internal:visited code.literal {
|
|||
overflow: auto;
|
||||
}
|
||||
|
||||
.rst-content .admonition .admonition-title,
|
||||
.rst-content .admonition.note .admonition-title,
|
||||
.rst-content .admonition.seealso .admonition-title {
|
||||
background-color: var(--admonition-note-title-background-color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue