From fbd12e8556a97adb41075d6e875b3e0f069f9107 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 21 Dec 2023 00:19:52 -0600 Subject: [PATCH] improve some styles --- src/web/assets/style.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/web/assets/style.css b/src/web/assets/style.css index 706ec40..8d2fbde 100644 --- a/src/web/assets/style.css +++ b/src/web/assets/style.css @@ -36,6 +36,13 @@ input { font-size: inherit; padding: 0.25rem; } +input:focus { + outline: none; + border-color: #e6b450; +} +:focus { + outline: 1px solid #e6b450; +} input[type="submit"] { cursor: pointer; } @@ -195,6 +202,15 @@ h1 { .infobox p { margin: 0; } +.infobox-stackoverflow-answer pre > code { + border: 1px solid #234; + padding: 0.5rem; + display: block; + font-weight: normal; +} +.infobox-stackoverflow-answer code { + font-weight: bold; +} .postsearch-infobox p { margin-bottom: 1em; white-space: pre-wrap;