diff --git a/themes/hexo/style.js b/themes/hexo/style.js index 17cdbac2..d297b633 100644 --- a/themes/hexo/style.js +++ b/themes/hexo/style.js @@ -116,11 +116,9 @@ const Style = () => { .dark #theme-hexo .dark\:bg-indigo-500 { background-color: var(--theme-color) !important; } - /* 移动设备菜单栏背景色 */ - #theme-hexo .hover\:bg-indigo-500:hover { - background-color: var(--theme-color) !important; - } - .dark #theme-hexo .dark\:hover\:bg-indigo-500:hover { + + // 移动设备菜单栏选中背景色 + #theme-hexo div[class*='hover:bg-indigo-500']:hover { background-color: var(--theme-color) !important; }