From c80ada2a406ef396890ff42e81430a7411047752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Wed, 26 Oct 2022 23:12:44 +0200 Subject: [PATCH] Simple style changes around search box. --- static/style.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/static/style.css b/static/style.css index 5e631e6..a4ad7ac 100644 --- a/static/style.css +++ b/static/style.css @@ -25,7 +25,7 @@ body nav input { background-color: transparent; color: #000; border: none; - border-bottom: 1px solid #222; + border-bottom: 1px solid #888; } .results-box-container { z-index: 5; @@ -59,7 +59,13 @@ body nav input { background-color: transparent; color: #000; border: none; - border-bottom: 1px solid #444; + border-bottom: 1px solid #888; + outline: none; + font-size: 100%; +} + +.results-box-container .results-box input:focus { + border-bottom: 1px solid #000; } /* Search box results */ @@ -71,11 +77,11 @@ body nav input { padding: 0.25ex; margin: 1ex; border-radius: 4px; - box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.25); + box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.25); } .results-box ul li h2 { - font-size: 125%; + font-size: 110%; padding: 1.25ex; display: block; margin: 0; @@ -353,6 +359,9 @@ tr.__table-separator { .results-box ul li h2 { color: white; } + .results-box-container .results-box input:focus { + border-bottom: 1px solid #fff; + } /* Code blocks */ pre {