Skip to content

Commit 057c3e4

Browse files
fix: admonitions styles for topic admonition (#477)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 33957d6 commit 057c3e4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

doc/changelog.d/477.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: admonitions styles for ``topic`` admonition

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/pydata-sphinx-theme-custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ span.versionmodified:before {
502502
height: var(--ast-admonition-icon-height);
503503
width: var(--ast-admonition-icon-width);
504504
left: 0px;
505+
color: var(--ast-color-text);
505506
}
506507

507508
span.versionmodified:before {
@@ -638,6 +639,12 @@ div.versionchanged {
638639
border-color: var(--ast-admonition-neutral-border);
639640
}
640641

642+
aside.topic p,
643+
div.topic p,
644+
div.topic.contents p,
645+
nav.contents p {
646+
color: var(--ast-admonition-neutral-icon) !important;
647+
}
641648
/**
642649
* Dropdown _header.scss
643650
*/

0 commit comments

Comments
 (0)