css: ensure workarounds don’t interfere with body background color (#1859)

This commit is contained in:
Huang Xin
2025-08-21 00:30:20 +08:00
committed by GitHub
parent ef1a1eab98
commit 149f94be4c
+2 -2
View File
@@ -137,8 +137,8 @@ const getColorStyles = (
${isDarkMode && invertImgColorInDark ? 'filter: invert(100%);' : ''}
${!isDarkMode && overrideColor ? 'mix-blend-mode: multiply;' : ''}
}
/* horizontal rule */
*:has(> hr[class]) {
/* horizontal rule #1649 */
*:has(> hr[class]):not(body) {
background-color: ${bg};
}
hr {