]> git.ardis.lu - git.ardis.lu/commitdiff
Improve search input box styling
authorArdis Lu <ardisglu@gmail.com>
Thu, 7 May 2026 06:49:45 +0000 (23:49 -0700)
committerArdis Lu <ardisglu@gmail.com>
Thu, 7 May 2026 06:49:45 +0000 (23:49 -0700)
usr/share/gitweb/static/custom.css

index 87767b0932b431a6e936b4f129b83fc1dac41991..d63fcfe4cb2e2b2ae015efc6d35021b88eb4705b 100644 (file)
@@ -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,
This page took 0.036201 seconds and 4 git commands to generate.