« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css/miscellany.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/css/miscellany.css')
-rw-r--r--src/static/css/miscellany.css22
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 {