commit 78b9541c7085ff64e34868eb5c1f3cc126234424
parent 37985d375f38bc1b1dd45eb4a671ebd21c97ae34
Author: Hunter
Date:   Sun, 10 Aug 2025 00:26:09 -0400

improve search bar (⌘+F) styling

Diffstat:
Mindex.html | 37+++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+), 0 deletions(-)

diff --git a/index.html b/index.html @@ -22,6 +22,7 @@ :root { --text-color: #f8f8f2; --editor-bg: #16181b; + scrollbar-color: grey var(--editor-bg); } * { @@ -125,6 +126,42 @@ overscroll-behavior: none !important; } + /* Simplify search panel - hide all buttons, labels, and replace input */ + .cm-search button { + display: none !important; + } + + .cm-search { + background-color: #16181b; + } + + .cm-search label { + display: none !important; + } + + .cm-search input[name="replace"] { + display: none !important; + } + + /* Style search input to match editor text size */ + .cm-search input[name="search"] { + font-size: 21px !important; + width: 100% !important; + border-radius: 50px !important; + padding-left: 0.8em !important; + padding-right: 0.8em !important; + padding-bottom: 7px !important; + } + + .cm-panels-bottom { + border-radius: 0px !important; + } + + .cm-panels-bottom { + border-top: none !important; + + } + #preview { width: 100%; height: 100%;