From f509e410bca55ff04b79b38a73e3751eff848c95 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 25 Jan 2025 11:56:23 +0100 Subject: add search bar to posts --- _sass/media.scss | 2 +- _sass/theme.scss | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) (limited to '_sass') diff --git a/_sass/media.scss b/_sass/media.scss index a3fedea..d254674 100644 --- a/_sass/media.scss +++ b/_sass/media.scss @@ -11,7 +11,7 @@ } @media only screen and (prefers-color-scheme: dark) { - .invert { + .invert, input, button { background-color: #222; color: inherit; } diff --git a/_sass/theme.scss b/_sass/theme.scss index 82e54d6..b462301 100644 --- a/_sass/theme.scss +++ b/_sass/theme.scss @@ -94,3 +94,18 @@ table { list-style-type: disclosure-open; } +*:focus { outline: none; } + +input, button { + border: none; + background: #ccc; + color: inherit; + + box-sizing: content-box; + height: 20px; + line-height: 20px; + display: inline-block; + padding: 2px 8px; +} +input[type=submit], buttom { cursor: pointer; } + -- cgit v1.2.3