diff --git a/src/css/custom.scss b/src/css/custom.scss index 99a05126b43..5d208081a62 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -1159,10 +1159,10 @@ button.DocSearch { [data-theme='dark'] .theme-admonition-warning { color: black !important; -} -[data-theme='dark'] .theme-admonition-warning .alert a { - color: black !important; + a { + color: black !important; + } } .theme-admonition-tip {