mirror of
https://github.com/searxng/searxng.git
synced 2026-07-23 16:31:32 +00:00
[feat] allow customization of logo and favicon
also removed searxng-wordmark from templates directory and build files, because it is no longer used anywhere
This commit is contained in:
@@ -151,7 +151,6 @@ module.exports = function (grunt) {
|
||||
svgo: ['--config', 'svg4web.svgo.js']
|
||||
},
|
||||
files: {
|
||||
'<%= _templates %>/simple/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
|
||||
'img/searxng.svg': '<%= _brand %>/searxng.svg',
|
||||
'img/img_load_error.svg': '<%= _brand %>/img_load_error.svg'
|
||||
}
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
text-align: center;
|
||||
|
||||
.title {
|
||||
background: url('../img/searxng.png') no-repeat;
|
||||
&.custom_logo {
|
||||
background-image: url('../../../../custom/logo');
|
||||
}
|
||||
background-image: url('../img/searxng.png');
|
||||
background-repeat: no-repeat;
|
||||
min-height: 4rem;
|
||||
margin: 4rem auto;
|
||||
background-position: center;
|
||||
|
||||
Reference in New Issue
Block a user