Skip to content

Commit 30e0d10

Browse files
rorarclaude
andcommitted
fix: IP replacer white text on light background in light mode
The MkDocs Material announce block inherits white text color from footer styling. Explicitly set color: var(--md-default-fg-color) on .ip-replacer to override the inherited white text. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a6b110f commit 30e0d10

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/stylesheets/extra.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@
66
margin: 0 2px;
77
}
88

9-
/* IP Replacer — announcement bar below header */
9+
/* IP Replacer — announcement bar below header
10+
The announce block inherits white text from MkDocs Material footer styling,
11+
so we must explicitly set color to override it. */
1012
.ip-replacer {
1113
display: flex;
1214
align-items: center;
1315
gap: 0.6rem;
1416
padding: 0.35rem 1rem;
1517
background: var(--md-code-bg-color);
18+
color: var(--md-default-fg-color);
1619
border-bottom: 1px solid var(--md-default-fg-color--lightest);
1720
font-size: 0.8rem;
1821
flex-wrap: wrap;

0 commit comments

Comments
 (0)