Add dark mode styles for footnotes in Biblioteca. Fixes #5227.

This commit is contained in:
Brent Simmons committed 2026-04-12 15:14:35 -07:00
1 parent ab22de2282
commit 9827a4761c
1 file changed
+14
@@ -351,6 +351,20 @@ body a.footnote:visited,
transition: background-color 200ms ease-out;
}
@media (prefers-color-scheme: dark) {
.newsfoot-footnote-popover {
background: #444;
color: #ededed;
}
.newsfoot-footnote-popover-arrow {
background: #2a2a2a;
border: 1px solid #444;
}
.newsfoot-footnote-popover-inner {
background: #2a2a2a;
}
}
/*
Instead of the last-child bits, border-collapse: collapse
could have been used. However, then the inter-cell borders