From 844bd46c359017d54a14dc55f1b5f64c11947cd6 Mon Sep 17 00:00:00 2001 From: f Date: Sun, 5 Jan 2025 22:49:11 +0300 Subject: [PATCH] fix ui --- _layouts/default.html | 58 +++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 01acdfa..6fd3691 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -570,19 +570,16 @@ } .search-result-item { - padding: 10px; - border-bottom: 1px solid #e1e4e8; + padding: 8px 12px; cursor: pointer; - color: var(--text-color-light); - } - - .dark-mode .search-result-item { - color: var(--text-color-dark); - border-bottom-color: #2d2d2d; + transition: all 0.2s ease; + border-radius: 6px; } .search-result-item:hover { background-color: rgba(16, 185, 129, 0.1); + border-radius: 6px; + transform: translateX(4px); } .dark-mode .search-result-item:hover { @@ -914,7 +911,7 @@