From d7aff8360c03d76e3fe0becf51082a563ac82c58 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Tue, 1 Apr 2025 21:46:05 -0700 Subject: [PATCH] Fix ::selections styling The intention was to only to apply to visualizations, however the :not does not work as intended because ::selection properties are inheriting from parent
(where it is applicable) to (where it is not). --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index 0432845..bc04715 100644 --- a/style.css +++ b/style.css @@ -96,7 +96,7 @@ a:not(.icon-link) { text-decoration: none; } -:not(input)::selection { +#visualizations::selection { color: hsl(222deg 50% 30%); background-color: hsl(58deg 80% 90%); } -- 2.47.3