mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Added real logo and favicon
This commit is contained in:
parent
4b301b4443
commit
22997def69
5 changed files with 5 additions and 8 deletions
6
doc/_static/base-salt.css
vendored
6
doc/_static/base-salt.css
vendored
|
@ -44,11 +44,7 @@ body {
|
|||
.header {
|
||||
border-bottom: 3px solid #2e3436; }
|
||||
|
||||
.header h1 {
|
||||
margin: 0; line-height: 123px; text-indent: 170px; }
|
||||
|
||||
.header h1 a {
|
||||
display: block; }
|
||||
.header h1 { margin: 0; }
|
||||
|
||||
.footer {
|
||||
padding-top: 2em; text-align: right;
|
||||
|
|
BIN
doc/_static/favicon.ico
vendored
Normal file
BIN
doc/_static/favicon.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
doc/_static/salt.png
vendored
Normal file
BIN
doc/_static/salt.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
5
doc/_templates/layout.html
vendored
5
doc/_templates/layout.html
vendored
|
@ -135,8 +135,9 @@
|
|||
{% block header %}
|
||||
{%- if logo %}
|
||||
<div class="header">
|
||||
<h1 class="logo" style="background: url({{ pathto('_static/' + logo, 1) }}) no-repeat">
|
||||
<a href="{{ pathto('index') }}">Salt</a></h1>
|
||||
<h1 class="logo"><a href="{{ pathto('index') }}">
|
||||
<img src="{{ pathto('_static/' + logo, 1) }}" alt="Salt Stack">
|
||||
</a></h1>
|
||||
</div>
|
||||
{%- endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -54,7 +54,7 @@ html_short_title = 'Salt'
|
|||
|
||||
html_static_path = ['_static']
|
||||
html_logo = 'salt.png'
|
||||
html_favicon = 'salt.ico'
|
||||
html_favicon = 'favicon.ico'
|
||||
html_style = ['base-salt.css']
|
||||
html_use_smartypants = False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue