From 716359c6058470a59d3619640206885f5ba62140 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Wed, 6 May 2026 23:49:45 -0700 Subject: [PATCH] Improve search input box styling --- usr/share/gitweb/static/custom.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/usr/share/gitweb/static/custom.css b/usr/share/gitweb/static/custom.css index 87767b0..d63fcfe 100644 --- a/usr/share/gitweb/static/custom.css +++ b/usr/share/gitweb/static/custom.css @@ -28,6 +28,21 @@ body { margin-inline: auto; } +input[name="s"] { + font-size: 16px; + padding: 4px; + border: 1px solid hsl(216deg 20% 50%); + border-radius: 4px; + outline: 2px solid transparent; + outline-offset: 1px; + transition: outline-color 400ms; +} + +input[name="s"]:focus-within { + transition: outline-color 200ms; + outline-color: hsl(216deg 50% 40%); +} + table.project_list, table.shortlog, table.tags, -- 2.47.3