Merge 063e0185fa74d9bc1ec5138f56d5e0de5b13b6ae into 8731e37796d686044084b14cebbb043b522061d4
This commit is contained in:
commit
c697ec1aeb
@ -23,6 +23,7 @@ brand:
|
||||
public_instances: https://searx.space
|
||||
wiki_url: https://github.com/searxng/searxng/wiki
|
||||
issue_url: https://github.com/searxng/searxng/issues
|
||||
display_instance_name: false
|
||||
# custom:
|
||||
# maintainer: "Jon Doe"
|
||||
# # Custom entries in the footer: [title]: [link]
|
||||
|
@ -151,6 +151,7 @@ SCHEMA = {
|
||||
'docs_url': SettingsValue(str, 'https://docs.searxng.org'),
|
||||
'public_instances': SettingsValue((False, str), 'https://searx.space'),
|
||||
'wiki_url': SettingsValue(str, 'https://github.com/searxng/searxng/wiki'),
|
||||
'display_instance_name': SettingsValue(bool, False),
|
||||
'custom': SettingsValue(dict, {'links': {}}),
|
||||
},
|
||||
'search': {
|
||||
|
@ -4544,6 +4544,11 @@ summary.title {
|
||||
font-size: 1em;
|
||||
color: var(--color-search-font);
|
||||
}
|
||||
#links_on_top h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
#links_on_top a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -4560,6 +4565,11 @@ summary.title {
|
||||
#links_on_top a:active * {
|
||||
color: var(--color-search-font);
|
||||
}
|
||||
body.index_endpoint #instance_name {
|
||||
position: fixed;
|
||||
right: 1rem;
|
||||
font-size: 2em;
|
||||
}
|
||||
#pagination {
|
||||
grid-area: pagination;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
10
searx/static/themes/simple/css/searxng.min.css
vendored
10
searx/static/themes/simple/css/searxng.min.css
vendored
@ -4544,6 +4544,11 @@ summary.title {
|
||||
font-size: 1em;
|
||||
color: var(--color-search-font);
|
||||
}
|
||||
#links_on_top h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
#links_on_top a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -4560,6 +4565,11 @@ summary.title {
|
||||
#links_on_top a:active * {
|
||||
color: var(--color-search-font);
|
||||
}
|
||||
body.index_endpoint #instance_name {
|
||||
position: fixed;
|
||||
left: 1rem;
|
||||
font-size: 2em;
|
||||
}
|
||||
#pagination {
|
||||
grid-area: pagination;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -798,6 +798,12 @@ summary.title {
|
||||
font-size: 1em;
|
||||
color: var(--color-search-font);
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -818,6 +824,12 @@ summary.title {
|
||||
}
|
||||
}
|
||||
|
||||
body.index_endpoint #instance_name {
|
||||
position: fixed;
|
||||
.ltr-left(1rem);
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
#pagination {
|
||||
grid-area: pagination;
|
||||
|
||||
|
@ -45,6 +45,9 @@
|
||||
{% endif %}
|
||||
|
||||
<nav id="links_on_top">
|
||||
{% if get_setting('brand.display_instance_name') %}
|
||||
<h1 id="instance_name">{{ instance_name }}</h1>
|
||||
{% endif %}
|
||||
{%- from 'simple/icons.html' import icon_big -%}
|
||||
{%- block linkto_about -%}
|
||||
<a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user