aboutsummaryrefslogtreecommitdiff
path: root/html/template.html
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-07-30 14:50:11 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-07-30 14:50:11 +0200
commitfb3965c169013fff76622f684a545bf191274a7a (patch)
tree2413c1b8538d7eb93d44316d7047c2fa87235eda /html/template.html
parent81828460001d74c89d2b8819399fcb20d207c74a (diff)
downloadmuhqs-game-fb3965c169013fff76622f684a545bf191274a7a.tar.gz
muhqs-game-fb3965c169013fff76622f684a545bf191274a7a.zip
only change cursor if the rule is not already selected
Fixes: fabeb1da13bf86eeca2f78f5d4171c78975fcfd9.
Diffstat (limited to 'html/template.html')
-rw-r--r--html/template.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/html/template.html b/html/template.html
index d6d33bc8..146466d1 100644
--- a/html/template.html
+++ b/html/template.html
@@ -263,10 +263,13 @@ $if(toc)$
}
$endif$
+li.linkable-rule:not(.highlighted) {
+ cursor: pointer;
+}
+
li.linkable-rule.highlighted {
background-color: var(--highlight-bg);
list-style-image: url(link.svg);
- cursor: pointer;
}
li.linkable-rule.highlighted ol {