Skip to content

Commit

Permalink
[simple theme] replace old searx logo by searxng-wordmark.min.svg
Browse files Browse the repository at this point in the history
Suggested-by: @dalf searxng#473 (comment)
Suggested-by: @mrpaulblack searxng#473 (comment)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
  • Loading branch information
return42 committed Nov 12, 2021
1 parent 7ea3faf commit b3696b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions searx/static/themes/simple/src/less/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 2 additions & 1 deletion searx/templates/simple/search.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
<a id="search_logo" href="{{ url_for('index') }}">
<img class="search_logo_img" src="{{ url_for('static', filename='img/favicon.png') }}">
<span hidden>SearXNG</span>
{% include '__common__/searxng-wordmark.min.svg' without context %}
</a>
<div id="search_wrapper">
<div class="search_box">
Expand Down

0 comments on commit b3696b2

Please sign in to comment.