From df96964e1f36ca476f1d977ac473bffdaca98217 Mon Sep 17 00:00:00 2001 From: Hannes Knoll Date: Mon, 29 Dec 2025 20:44:07 +0100 Subject: [PATCH] improve search bar outline When focusing the searchbar, the entire search form should get an outline instead of just the search input field. This was done with the `:focus-within` selector for the form, which should be available to all modern broswers https://caniuse.com/css-focus-within --- static/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/style.css b/static/style.css index c6dada03..c97cb602 100644 --- a/static/style.css +++ b/static/style.css @@ -706,6 +706,10 @@ select, margin-bottom: 0; } +#searchbox:focus-within { + outline: 2px solid var(--accent); +} + #searchbox > *, #sort_submit { background: var(--highlighted);