diff --git a/template/.vitepress/theme/style.css b/template/.vitepress/theme/style.css index 0e8cb6779897..84c26fa67c41 100644 --- a/template/.vitepress/theme/style.css +++ b/template/.vitepress/theme/style.css @@ -88,37 +88,6 @@ .DocSearch { --docsearch-primary-color: var(--vp-c-brand) !important; } - -/** - * VitePress: Custom fix - * -------------------------------------------------------------------------- */ - -/* - Use lighter colors for links in dark mode for a11y. - Also specify some classes twice to have higher specificity - over scoped class data attribute. -*/ -.dark .vp-doc a, -.dark .vp-doc a > code, -.dark .VPNavBarMenuLink.VPNavBarMenuLink:hover, -.dark .VPNavBarMenuLink.VPNavBarMenuLink.active, -.dark .link.link:hover, -.dark .link.link.active, -.dark .edit-link-button.edit-link-button, -.dark .pager-link .title { - color: var(--vp-c-brand-lighter); -} - -.dark .vp-doc a:hover, -.dark .vp-doc a > code:hover { - color: var(--vp-c-brand-lightest); - opacity: 1; -} - -/* Transition by color instead of opacity */ -.dark .vp-doc .custom-block a { - transition: color 0.25s; -} <% } else { %> html { font-family: Arial, Helvetica;