[mod] simple theme: SearXNG logo

This commit is contained in:
Alexandre Flament 2021-10-28 21:02:39 +02:00
parent f86a658c1c
commit 0650e73b12
8 changed files with 10 additions and 9 deletions

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 %}