aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-07-27 21:46:54 -0400
committertdro <tdro@noreply.example.com>2023-07-28 18:27:00 -0400
commit3035c7dbc350c24061b37c0e15e1eb9087ab95b0 (patch)
treec3372b814ae32d6c2c215cec188f6ea502860cea
parent73a69a67e46944650f8ee9b5ebc76cfba1278cf8 (diff)
downloadcanory-3035c7dbc350c24061b37c0e15e1eb9087ab95b0.tar.gz
canory-3035c7dbc350c24061b37c0e15e1eb9087ab95b0.tar.bz2
canory-3035c7dbc350c24061b37c0e15e1eb9087ab95b0.zip
assets/css/default: Prevent activating adjacent abbr siblings
-rw-r--r--assets/css/default.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 8d28cd4..7cd87ec 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -656,6 +656,14 @@ input[type="checkbox"]:checked ~ abbr[title]::after {
content: " (" attr(title) ")";
}
+input[type="checkbox"]:checked ~ input[type="checkbox"] ~ abbr[title] {
+ cursor: not-allowed;
+}
+
+input[type="checkbox"]:checked ~ input[type="checkbox"] ~ abbr[title] label {
+ pointer-events: none;
+}
+
samp {
font-variant: all-small-caps;
letter-spacing: 0.05rem;