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 @@