« get me outta code hell

use search result hover styling for focus too - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
authorleo60228 <leo@60228.dev>2024-09-11 17:36:24 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-10 18:51:25 -0400
commit64cf539eca28933449e8c8df4118600a05ea4593 (patch)
treeb57d01f88b5ca68e4bff2e00a39db810f512b1c6 /src/static/css
parent4e8b8b492f6f9fd17a9b6ae2a2d73599c91da402 (diff)
use search result hover styling for focus too
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/site.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index ed409930..7eb3605c 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -655,6 +655,7 @@ summary.underline-white > span:hover a:not(:hover) {
   position: relative;
   display: flex;
   padding: 4px 3px 4px 6px;
+  outline: none;
 }
 
 .wiki-search-result:hover {
@@ -680,7 +681,7 @@ summary.underline-white > span:hover a:not(:hover) {
   border-bottom: 1px solid var(--dim-color);
 }
 
-.wiki-search-result:hover::before {
+.wiki-search-result:hover::before, .wiki-search-result:focus::before {
   display: block;
   background: var(--light-ghost-color);
 }