mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01: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:
parent
0245e82bd2
commit
0c202474c4
15 changed files with 92 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue