mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Fix red letter color inheritance by using explicit colors
Replace 'color: inherit' with explicit color values to prevent sidenotes and word definitions from inheriting red color. Using #111 for light theme and #ddd for dark theme ensures proper contrast and readability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,14 +20,14 @@
|
||||
.words-of-christ .marginnote,
|
||||
.words-of-christ .sidenote-number,
|
||||
.words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .sidenote,
|
||||
[data-theme="dark"] .words-of-christ .marginnote,
|
||||
[data-theme="dark"] .words-of-christ .sidenote-number,
|
||||
[data-theme="dark"] .words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
.sidenote,
|
||||
|
||||
@@ -53,33 +53,45 @@
|
||||
.words-of-christ .marginnote,
|
||||
.words-of-christ .sidenote-number,
|
||||
.words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .sidenote,
|
||||
[data-theme="dark"] .words-of-christ .marginnote,
|
||||
[data-theme="dark"] .words-of-christ .sidenote-number,
|
||||
[data-theme="dark"] .words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
/* Prevent word definitions from inheriting red color */
|
||||
.words-of-christ .word-original,
|
||||
.words-of-christ .word-transliteration,
|
||||
.words-of-christ .word-strongs,
|
||||
.words-of-christ .word-english,
|
||||
.words-of-christ .word-parsing,
|
||||
.words-of-christ .word-definition {
|
||||
color: inherit;
|
||||
color: #111;
|
||||
}
|
||||
|
||||
.words-of-christ .word-transliteration,
|
||||
.words-of-christ .word-parsing {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.words-of-christ .word-strongs {
|
||||
color: #0066cc;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .word-original,
|
||||
[data-theme="dark"] .words-of-christ .word-transliteration,
|
||||
[data-theme="dark"] .words-of-christ .word-strongs,
|
||||
[data-theme="dark"] .words-of-christ .word-english,
|
||||
[data-theme="dark"] .words-of-christ .word-parsing,
|
||||
[data-theme="dark"] .words-of-christ .word-definition {
|
||||
color: inherit;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .word-transliteration,
|
||||
[data-theme="dark"] .words-of-christ .word-parsing {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .word-strongs {
|
||||
color: #6699ff;
|
||||
}
|
||||
|
||||
.verse-text {
|
||||
|
||||
Reference in New Issue
Block a user