diff options
Diffstat (limited to 'src/static/css')
| -rw-r--r-- | src/static/css/miscellany.css | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/src/static/css/miscellany.css b/src/static/css/miscellany.css index 37fefb40..0f4cf1a9 100644 --- a/src/static/css/miscellany.css +++ b/src/static/css/miscellany.css @@ -487,26 +487,18 @@ } @layer interaction { - summary > span:hover { + summary > span:hover:not(:has(.has-visible-tooltip, .hoverable:hover)) { cursor: pointer; text-decoration: underline; text-decoration-color: var(--primary-color); - } - - summary > span:hover a { - text-decoration: none !important; - } - summary > span:hover:has(a:hover), - summary > span:hover:has(a.nested-hover), - summary.has-nested-hover > span { - text-decoration: none !important; - } + a:not(:hover) { + text-decoration: none !important; + } - summary > span:hover:has(a:hover) a:hover, - summary > span:hover:has(a.nested-hover) a:hover, - summary.has-nested-hover > span a:hover { - text-decoration: underline !important; + &:has(a:hover) { + text-decoration: none !important; + } } summary.underline-white > span:hover { |