From ee67a65180cd5cb4faeda310c6c6af10391435b6 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 8 Nov 2021 11:05:02 +0100 Subject: [PATCH] [simple theme] replace old searx logo by searxng-wordmark.min.svg Suggested-by: @dalf https://github.com/searxng/searxng/pull/473#issuecomment-962476683 Suggested-by: @MrPaulBlack https://github.com/searxng/searxng/pull/473#issuecomment-962579826 Signed-off-by: Markus Heiser --- searx/static/themes/simple/src/less/search.less | 12 +++++++++--- searx/templates/simple/search.html | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/searx/static/themes/simple/src/less/search.less b/searx/static/themes/simple/src/less/search.less index fddd2b357..b4818ba5d 100644 --- a/searx/static/themes/simple/src/less/search.less +++ b/searx/static/themes/simple/src/less/search.less @@ -18,10 +18,16 @@ #search_logo { grid-area: logo; -} + display: flex; + align-items: center; + justify-content: center; -.search_logo_img { - width: 40px; + svg { + flex: 1; + width: 30px; + height: 30px; + margin: 0.5rem 0 auto 0; + } } .search_categories { diff --git a/searx/templates/simple/search.html b/searx/templates/simple/search.html index f8c82cd1b..1f410ad96 100644 --- a/searx/templates/simple/search.html +++ b/searx/templates/simple/search.html @@ -1,6 +1,7 @@