Skip to content

Commit 447ea94

Browse files
authored
docs: set the background color of platform icons to transparent (#4377)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Resolved an issue where platform icons displayed with a black background in dark theme by ensuring the background remains transparent. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
1 parent b9303c7 commit 447ea94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/_static/css/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ html[data-theme="dark"] {
1818
}
1919
img.platform-icon {
2020
filter: invert(1);
21+
/* otherwise the backgorund is black */
22+
background-color: transparent !important;
2123
}
2224
}

0 commit comments

Comments
 (0)