mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Fix sidenote markers appearing over verse numbers
Prevent sidenotes from inheriting red color from red letter text by adding CSS rules that reset color inheritance for .sidenote, .marginnote, and .sidenote-number elements nested within .words-of-christ spans. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,19 @@
|
||||
color: #ff6b6b;
|
||||
}
|
||||
|
||||
/* Prevent sidenotes from inheriting red color */
|
||||
.words-of-christ .sidenote,
|
||||
.words-of-christ .marginnote,
|
||||
.words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .sidenote,
|
||||
[data-theme="dark"] .words-of-christ .marginnote,
|
||||
[data-theme="dark"] .words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.sidenote,
|
||||
.marginnote {
|
||||
max-height: 150px;
|
||||
|
||||
@@ -48,6 +48,19 @@
|
||||
color: #ff6b6b;
|
||||
}
|
||||
|
||||
/* Prevent sidenotes from inheriting red color */
|
||||
.words-of-christ .sidenote,
|
||||
.words-of-christ .marginnote,
|
||||
.words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
[data-theme="dark"] .words-of-christ .sidenote,
|
||||
[data-theme="dark"] .words-of-christ .marginnote,
|
||||
[data-theme="dark"] .words-of-christ label.sidenote-number {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.verse-text {
|
||||
font-size: 1.8rem;
|
||||
line-height: 2.4rem;
|
||||
|
||||
Reference in New Issue
Block a user