8000
Sorry, I couldn't find where to modify the code. Could you change the font color of the hovered item to white to improve readability, thanks!
before:
after:
here is a js im using:
// ==UserScript== // @name ReminiFlux 悬停文字白底灰显优化 // @namespace http://tampermonkey.net/ // @version 1.3 // @description 强制.esnlns文字为白色,悬停时多个元素文字变白 // @author You // @match https://reminiflux.github.io/ // @grant none // ==/UserScript== (function() { 'use strict'; // 添加CSS规则 const css = ` /* 默认状态下的.esnlns文字白色 */ .esnlns { color: white !important; } /* 悬停时的文字白色(覆盖所有指定元素) */ tr.sc-dhKdcB.dcAiRg:hover, .esnlns:hover, .dTzbZp:hover { color: white !important; } /* 可选:增强悬停效果(示例) */ .dTzbZp:hover { background-color: #555 !important; /* 更深的灰色 */ transition: all 0.2s ease; /* 平滑过渡 */ } `; // 动态注入样式 const style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode(css)); document.head.appendChild(style); // 调试用:打印注入的样式(可选) console.log('[ReminiFlux样式已注入]', css); })();
Activity
troilus commentedon Apr 14, 2025
here is a js im using: