Merge pull request #451 from dalf/searxng-logo2

Simple theme: SearXNG logo
This commit is contained in:
Alexandre Flament 2021-10-30 18:00:09 +02:00 committed by GitHub
commit ec69543ed9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 26 additions and 23 deletions

View File

@ -2193,7 +2193,7 @@ article.result-images .detail {
} }
} }
#main_index { #main_index {
margin-top: 24vh; margin-top: 26vh;
} }
#main_index #linkto_preferences { #main_index #linkto_preferences {
right: 1.8rem; right: 1.8rem;
@ -2202,13 +2202,14 @@ article.result-images .detail {
text-align: center; text-align: center;
} }
.index .title { .index .title {
background: url('../img/searx.png') no-repeat; background: url('../img/searxng.png') no-repeat;
width: 100%; min-height: 4rem;
min-height: 80px; margin: 4rem auto;
background-position: center; background-position: center;
background-size: contain;
} }
.index h1 { .index h1 {
font-size: 5em; font-size: 4em;
visibility: hidden; visibility: hidden;
} }
.index #search { .index #search {
@ -2635,8 +2636,8 @@ footer p {
} }
#main_preferences h1, #main_preferences h1,
#main_stats h1 { #main_stats h1 {
background: url('../img/searx.png') no-repeat; background: url('../img/searxng.png') no-repeat;
background-size: auto 75%; background-size: contain;
min-height: 40px; min-height: 40px;
margin: 0 auto; margin: 0 auto;
} }

View File

@ -2193,7 +2193,7 @@ article.result-images .detail {
} }
} }
#main_index { #main_index {
margin-top: 24vh; margin-top: 26vh;
} }
#main_index #linkto_preferences { #main_index #linkto_preferences {
right: 1.8rem; right: 1.8rem;
@ -2202,13 +2202,14 @@ article.result-images .detail {
text-align: center; text-align: center;
} }
.index .title { .index .title {
background: url('../img/searx.png') no-repeat; background: url('../img/searxng.png') no-repeat;
width: 100%; min-height: 4rem;
min-height: 80px; margin: 4rem auto;
background-position: center; background-position: center;
background-size: contain;
} }
.index h1 { .index h1 {
font-size: 5em; font-size: 4em;
visibility: hidden; visibility: hidden;
} }
.index #search { .index #search {
@ -2635,8 +2636,8 @@ footer p {
} }
#main_preferences h1, #main_preferences h1,
#main_stats h1 { #main_stats h1 {
background: url('../img/searx.png') no-repeat; background: url('../img/searxng.png') no-repeat;
background-size: auto 75%; background-size: contain;
min-height: 40px; min-height: 40px;
margin: 0 auto; margin: 0 auto;
} }

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,5 +1,5 @@
#main_index { #main_index {
margin-top: 24vh; margin-top: 26vh;
#linkto_preferences { #linkto_preferences {
right: 1.8rem; right: 1.8rem;
@ -10,14 +10,15 @@
text-align: center; text-align: center;
.title { .title {
background: url('../img/searx.png') no-repeat; background: url('../img/searxng.png') no-repeat;
width: 100%; min-height: 4rem;
min-height: 80px; margin: 4rem auto;
background-position: center; background-position: center;
background-size: contain;
} }
h1 { h1 {
font-size: 5em; font-size: 4em;
visibility: hidden; visibility: hidden;
} }

View File

@ -89,8 +89,8 @@ footer {
#main_preferences h1, #main_preferences h1,
#main_stats h1 { #main_stats h1 {
background: url('../img/searx.png') no-repeat; background: url('../img/searxng.png') no-repeat;
background-size: auto 75%; background-size: contain;
min-height: 40px; min-height: 40px;
margin: 0 auto; margin: 0 auto;

View File

@ -1,12 +1,12 @@
{% extends "simple/base.html" %} {% extends "simple/base.html" %}
{% from 'simple/macros.html' import icon %} {% from 'simple/macros.html' import icon %}
{% block meta %} {% block meta %}
<link rel="preload" href="{{ url_for('static', filename='img/searx.png') }}" as="image" /> <link rel="preload" href="{{ url_for('static', filename='img/searxng.png') }}" as="image" />
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<nav id="linkto_preferences"><a href="{{ url_for('preferences') }}">{{ icon('navicon-round') }}</a></nav> <nav id="linkto_preferences"><a href="{{ url_for('preferences') }}">{{ icon('navicon-round') }}</a></nav>
<div class="index"> <div class="index">
<div class="title"><h1>searx</h1></div> <div class="title"><h1>SearXNG</h1></div>
{% include 'simple/simple_search.html' %} {% include 'simple/simple_search.html' %}
</div> </div>
{% endblock %} {% endblock %}