From: Ardis Lu Date: Wed, 2 Apr 2025 04:46:05 +0000 (-0700) Subject: Fix ::selections styling X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=d7aff8360c03d76e3fe0becf51082a563ac82c58;p=utf-8-visualizer 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). --- 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%); }